Re: [R] hclust in heatmap.2

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

Thanks Ashoka!

Allen

On Dec 6, 2007 12:27 AM, Ashoka Polpitiya <ashoka.polpitiya_at_gmail.com> wrote:

> Check the Rowv, Colv options to heatmap.2
>
> data(mtcars)
> x <- as.matrix(mtcars)
> heatmap.2(x, Rowv=FALSE, dendrogram="column")
>
> -Ashoka
> ----
> Scientist - Pacific Northwest National Lab
>
> On Dec 5, 2007 4:20 PM, affy snp <affysnp_at_gmail.com> 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!
> >
> > 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.
> >
>
>

        [[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:46 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.