Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing color palette in plotBedpe #19

Open
divyanandu opened this issue Aug 20, 2020 · 0 comments
Open

Changing color palette in plotBedpe #19

divyanandu opened this issue Aug 20, 2020 · 0 comments

Comments

@divyanandu
Copy link

Hi,

Is there a way to select the colors when using plotBedpe function for the loops?

I am able to generate a plot with different colors for the different samples.. However, I don't have any control over the colors that are chosen. I tried different palettes (topo.colors, terrain.colors, heat.colors, cm.colors and rainbow) but am not happy with the choices.. When I tried to specify a vector of colors for the colorbycol, it says it expects a matrix and not a vector for col. Please let me know if the feature already exists to choose our own colors! If not, I think it will be a nice addition!

pbde = plotBedpe(inputFile, chrom, chromstart, chromend, heights=inputFile$cc, plottype="loops", colorby=inputFile$Sample, colorbycol=heat.colors, lwd=1, bty='n', border="black")

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant