amc-heme / scExploreR

Shiny app for single cell omics data visualization
https://amc-heme.github.io/scExploreR/
MIT License
2 stars 0 forks source link

Improved control of color palettes #275

Open wish1832 opened 1 month ago

wish1832 commented 1 month ago

Currently, categorical color pallets are "stretched" and "shrunk" to fit the number of variables on plots via colorRampPalette. This can result in visually unappealing colors with some plots.

We could add an option to have the palette sequence repeat, instead of blend. This will cause issues when the number of variables exceeds the number of colors in the palette, but we can throw a warning or error notification if this is the case.

We could also give the user full control over the colors on a plot by adding ColorPicker widgets in the options section for a given plot.