How fix lines of dendrogram that overlap in the column portion of a heatmap?
1
0
Entering edit mode
@6a86570d
Last seen 4 weeks ago
Chile

I´m trying to customize my heatmap, all looks fine except for one particular detail: the column dendrogram overlaps due to the big amount of columns. Here an example:

enter image description here

I tried to change the width of my plot, however, I had no success. Is there a way to separate more the space between lines in the dendrogram? I´m using pheatmap to do that plot.

heat heatmaps • 123 views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

You won't be able to 'fix' that without changing the width to something huge, at which time the usefulness will have been reduced quite a bit. You could do something like

png("massiveheatmapwow.png", width = 20000, height = 20000)
print(pheatmap(<arguments go here>))
dev.off()

But unless you are planning to mount that on a wall, it's just too big to be useful. I am not sure why you care that the lines overlap though. Can't you get the gist of the situation from the plot you already showed us? Seems OK to me.

Login before adding your answer.

Traffic: 210 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6