Re: [R] hclust in heatmap.2

2007-12-06 Thread affy snp
Thanks James! Allen On Dec 6, 2007 9:21 AM, James W. MacDonald <[EMAIL PROTECTED]> 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

Re: [R] hclust in heatmap.2

2007-12-06 Thread affy snp
Thanks Ashoka! Allen On Dec 6, 2007 12:27 AM, Ashoka Polpitiya <[EMAIL PROTECTED]> 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

Re: [R] hclust in heatmap.2

2007-12-06 Thread James W. MacDonald
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 he

Re: [R] hclust in heatmap.2

2007-12-05 Thread Ashoka Polpitiya
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 <[EMAIL PROTECTED]> wrote: > Dear list, > > I am using heatmap.2(x) to draw a hea

[R] hclust in heatmap.2

2007-12-05 Thread affy snp
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 HTM