gexijin / idepGolem

15 stars 10 forks source link

Plot Error: Error: Insufficient values in manual scale. 24 needed but only 9 provided #635

Closed rayhendricks closed 3 months ago

rayhendricks commented 4 months ago

Describe the bug When the PCA section of iDEP 2.0 is run, there is a Error: Insufficient values in manual scale. 24 needed but only 9 provided. message that is displayed. Currently using bslib 0.40, as with bslib 0.61 the title bar is grayed out.

To Reproduce Steps to reproduce the behavior:

  1. Open app and load data, we have 24 samples in our RNAseq experiment.
  2. Click on PCA
  3. See error

Expected behavior I expect the PCA plot to appear. Screenshots Screenshot from 2024-03-05 12-02-44

Terminal Warning: Error in palette: Insufficient values in manual scale. 24 needed but only 9 provided. 127: <Anonymous> 126: signalCondition 125: signal_abort 124: rlang::abort 123: cli::cli_abort 122: palette 121: self$palette 120: map 119: self$map 118: FUN 117: lapply 116: map_df 115: scale$map_df 114: FUN 113: lapply 111: map_df 110: scales$map_df 109: FUN 108: lapply 107: ggplotly_build 106: gg2list 105: ggplotly.ggplot 103: :: plotly

gexijin commented 3 months ago

Thank you for bringing this to our attention. This has been fixed.