StainedGlass icon indicating copy to clipboard operation
StainedGlass copied to clipboard

How to adjust the color scale manually?

Open yuanhao0626 opened this issue 8 months ago • 0 comments

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

yuanhao0626 avatar Jun 04 '24 08:06 yuanhao0626