You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
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!
The text was updated successfully, but these errors were encountered: