Heatmap: row labels & dendogram
1
0
Entering edit mode
danieladna ▴ 110
@danieladna-3992
Last seen 10.2 years ago
Hi, A two questions about heatmap.2 : What is the best approach to make the row labels readable? Right now they are merging. I plotted 104 genes. The command cexRow is not giving me the desired result, since the font size needs to be set extremly small to fit all in; so small that no one can read it!!! How can I switch off the dendogram drawing option? I like the dendogram to be computed and reordered based on row means, but I do not like it to be displayed! Many thanks for your help, Daniela [[alternative HTML version deleted]]
• 1.5k views
ADD COMMENT
0
Entering edit mode
@saroj-k-mohapatra-3419
Last seen 10.2 years ago
Hi Daniela: danieladna wrote: > Hi, > A two questions about heatmap.2 : > > What is the best approach to make the row labels readable? > Right now they are merging. I plotted 104 genes. The command cexRow > is not giving me the desired result, since the font size > needs to be set extremly small to fit all in; > so small that no one can read it!!! > > What if you write the output to a file? # Create some data with 104 rows mydat=matrix(rnorm(1040), nrow=104) # start graphics device driver; write to PDF pdf(file="temp.pdf", height=20) # note the height parameter # Heatmap with no dendrogram, no left top key, no trace heatmap.2(mydat, dendrogram="none", mar=c(2,2), key=F, keysize=0.1, trace="none") # shut down the graphics device dev.off() Now the temp.pdf file should have the row names visible. You may want to play with the 'height' parameter for improving. > How can I switch off the dendogram drawing option? I like the dendogram > to be computed and reordered based on row means, but I do not like it > to be displayed! > > dendrogram="none" as in the example above. Best, Saroj > Many thanks for your help, > Daniela > > > > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > >
ADD COMMENT

Login before adding your answer.

Traffic: 934 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