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!