gosling.js
gosling.js copied to clipboard
Allow showing different genomic intervals in parallelized and serialized circular views
This is currently impossible since those tracks are contained in a single "higlass view" which can have exactly one xDomain
.
To allow this, we should either (1) support multiple xDomains
in the higlass view or (2) allow overlaying multiple "higlass views" on top of each other (this is not supported by react-grid-layout
which is the main library being used in HiGlass to layout views).
For the second option above, i.e., overlaying multiple views on top of each other, we could either overlay multiple RGL grids (Related issue: https://github.com/react-grid-layout/react-grid-layout/discussions/1421) or allow higlass to overlay multiple views in a single RGL grid.
To make the following cytoband example useful, this issue should be addressed (currently, we can only show the same chromosome due to the technical issue, but we want to show different chromosomes, such as chr1, chr2, chr3, ..., from the outside to the insde):
![Screen Shot 2021-02-15 at 8 46 56 PM](https://user-images.githubusercontent.com/9922882/108008727-06ec6080-6fcf-11eb-94a4-390da0e1add5.png)
It looks a recently added allowOverlap
option will be the solution for this (https://github.com/react-grid-layout/react-grid-layout/pull/1470), which is not yet released.