Skip to content

How to adjust the color scale manually? #47

@yuanhao0626

Description

@yuanhao0626

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions