Search
Question: Adjust column labels in Heatmap.3
0
gravatar for komal.rathi
2.0 years ago by
komal.rathi30
United States
komal.rathi30 wrote:

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!

ADD COMMENTlink modified 2.0 years ago by James W. MacDonald45k • written 2.0 years ago by komal.rathi30
1

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 ...

ADD REPLYlink written 2.0 years ago by Steve Lianoglou12k
0
gravatar for James W. MacDonald
2.0 years ago by
United States
James W. MacDonald45k wrote:

If you are talking about the heatmap.3() function from the GMD package, then you should direct your queries to R-help (r-help@r-project.org), as that is a CRAN package, not Bioconductor.

ADD COMMENTlink written 2.0 years ago by James W. MacDonald45k

Oh, I am sorry! I totally forgot that this is a support site for Bioconductor packages. Thanks!

ADD REPLYlink written 2.0 years ago by komal.rathi30
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 305 users visited in the last hour