[R] heatmap clustering dendrogram export

From: boyang zhe <zheboyang_at_gmail.com>
Date: Mon, 11 Apr 2011 11:15:52 +0200


Hi,

I am a beginner for R.

I had use gplots to generate a heatmap as following:

>heatmap.2(matrix, col=topo.colors(75), dendrogram="column", Rowv=FALSE,
trace="none", key=TRUE, keysize=0.8, density.info="none", cexRow=0.2, cexCol=0.6)

It work well. It generate heatmap whith rcolumn clustering dendrogram and I can export a very nice graph. But I don not know how to export the column clustering dendrogram out. Because I want to get the dendrogram for next step analysis. If I can export it as the newick format (or nexus format), it will be much easy for me.

Thank you very much!

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 11 Apr 2011 - 09:18:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 11 Apr 2011 - 10:40:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive