StainedGlass
StainedGlass copied to clipboard
How to adjust the color scale manually?
Hi developers, we are using this pipeline for centromere identity plotting. As we are going to set a custom color scale for all the plots, is there any method for this job? It seems only change these two lines didn't work as we expected.
#bot <- floor(min(sdf$perID_by_events))
bot <- 70
#breaks <- unique(c(quantile(sdf$perID_by_events, probs = seq(0, 1, by = 1 / ncolors))))
breaks <- c(70,80,90,92,93,94,95,96,97,98,99,100)
#bot <- quantile(sdf$perID_by_events, probs = 0.001)[[1]]
bot <- 70
I hope that you can provide with more ideas about adjusting the color scales.
Thanks in advance.
Best wishes,
YH