Entering edit mode
The following is my code for heatmap.3:
heatmap.3(x = as.matrix(res), dist.FUN = dist2, scale = 'row', color.FUN = col_ylgnbu, cex.main = 2, trace = 'none', srtCol = 45, adjCol = c(1,0.1), main = paste(title), key = T, cexRow = 2, cexCol = 1)
I get the following heatmap using this code:
Is there a way to adjust the column labels so that they do not overlap the heatmap? This post has been cross-posted here but I thought I'd post it here too.
Thanks!
The heatmap package to end all heatmap packages seems to be ComplexHeatmap. I'd invest some time into learning that. The extra added bonus would be that you can post support questions to this site ;-)
That having been said, I think tweaking axis labels and plot margins is always going to be a pain ...