An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071205/10c31a81/attachment.pl
hclust in heatmap.2
5 messages · Ashoka Polpitiya, James W. MacDonald, affy snp
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071205/cc0a5311/attachment.pl
affy snp wrote:
Dear list, I am using heatmap.2(x) to draw a heatmap. Ideally, I want to the matrix x clustered only by columns and keep the original order of rows unchanged. Is there a way to do that in heatmap.2()? Thanks a lot! Any suggestions will be appreciated!
From the help page:
Arguments:
x: numeric matrix of the values to be plotted.
Rowv: determines if and how the _row_ dendrogram should be
reordered. By default, it is TRUE, which implies dendrogram
is computed and reordered based on row means. If NULL or
FALSE, then no dendrogram is computed and reordering is done.
If a 'dendrogram', then it is used "as-is", ie without any
reordering. If a vector of integers, then dendrogram is
computed and reordered based on the order of the vector.
Best,
Allen
[[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.
James W. MacDonald, M.S. Biostatistician Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071206/86c4fa2a/attachment.pl
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20071206/08c15748/attachment.pl