Annotated heatmap limits
1
0
Entering edit mode
@michaelridley6-9201
Last seen 5.9 years ago
United Kingdom

Hello, I'm a relativley new user to the ComplexHeatmap package, and have found it really useful. However, Im having trouble with larger heatmaps (>1000 rows) not annotating properly. It seems the annotation of odd rows gets swamped out by annotated rows that occur close together. Is there a possible way to stop this from happening, or a work around people use?

Thanks!

complexheatmap • 778 views
0
Entering edit mode
@steve-lianoglou-2771
Last seen 2 hours ago
Denali

Perhaps saving as a PDF file which you set to be super tall would do the trick. There's only so much information you can pack into a small space, ie:

## Note that the default units for pdf are inches (in US locale, I guess(?))
pdf("huge-heatmap.pdf", height=100, width=10)
draw(Heatmap(...) + rowanno + ...)
dev.off()

And take a look at that file