State Before
DNA accessibility component passes an explicit number[] that tells the RidgePlot track which indices of TileData to render in order. This numeric array must be manually maintained and does not scale to different orderings or selections, since DNA accessibility only modifies the original constant array by filtering values from it.
State Now
DNA accessibility component constructs a string[] of the cell sample names in order, from the existing cell stratification view configuration (thus keeping them in sync). The RidgePlot will use the order of sample names to match to the tileset data fetched, and appropriately construct the ordering for the data to display.
State Before DNA accessibility component passes an explicit
number[]
that tells the RidgePlot track which indices of TileData to render in order. This numeric array must be manually maintained and does not scale to different orderings or selections, since DNA accessibility only modifies the original constant array by filtering values from it.State Now DNA accessibility component constructs a
string[]
of the cell sample names in order, from the existing cell stratification view configuration (thus keeping them in sync). The RidgePlot will use the order of sample names to match to the tileset data fetched, and appropriately construct the ordering for the data to display.