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

Cell type proportion plot initializes in an error state #278

Open wish1832 opened 1 month ago

wish1832 commented 1 month ago

When cell type proprotion plots are enabled, the default settings for proportions and the proportion comparision are set to the first metadata variable, which results in the message "Invalid selections for Cell Proportion Plot: "Proportions" and "Proportion Comparison" must be different". This is somewhat undesirable.

This could be solved by setting "proportion comparison" to the patient metadata variable, if such variable is provided in the config file. If not, this could simply be set to the second metadata variable. That will cause a error if the user only enters one metadata variable, however.

Screenshot 2024-04-05 at 11 36 39 AM