How to show all GO terms for axis names in heatmap.2
I am producing a heatmap using RNAseq data and using heatmap.2 for my plot production. However the full GO terms keep on being cut off is there anyway to prevent this? Thank you
> png("plot_2.png", height = 900, width = 900)
heatmap.2(highly_variable_lcpm,
col=rev(morecols(50)),
trace="column",
main="Top 30 most variable genes across LR versus CN samples",
ColSideColors=col.cell,scale="row")
dev.off()
• 1,607 views
•
link
0 answers
No answers yet.
Log in to answer this question.
You should be able to use the
rowCexparameter to make the row labels smaller. I'd suggest switching to ComplexHeatmap if it's not a big deal to change packages. It's much more customizable and looks a LOT better too.