Re: [R] hclust in heatmap.2

From: affy snp <affysnp_at_gmail.com>
Date: Thu, 6 Dec 2007 11:07:10 -0500

Thanks James!

Allen

On Dec 6, 2007 9:21 AM, James W. MacDonald <jmacdon_at_med.umich.edu> wrote:

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

        [[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 Thu 06 Dec 2007 - 16:09:48 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 Thu 06 Dec 2007 - 16:30:17 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.