Re: [R] heatmap.2 in gplots package

From: Warnes, Gregory R <gregory.r.warnes_at_pfizer.com>
Date: Thu 23 Feb 2006 - 04:54:37 EST


Hello Akkineni,

This bug has already been reported and we have a tentative solution that we are testing. I'll send you a copy of the modified code once we finish testing.

-G

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch]On Behalf Of
> Akkineni,Vasundhara
> Sent: Wednesday, February 22, 2006 12:09 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] heatmap.2 in gplots package
>
>
> Hello all,
>
> I am using the heatmap.2 function in the gplots package. I
> want to supress the reordering of the columns of the data
> matrix i pass to the function. I used the statement,
>
> heatmap.2(z,Colv=FALSE,dendrogram="row",col=redgreen(75))
>
> where z, is the matrix of data. The output i want should have
> the rows reordered along with the dendrogram and the columns
> should be in the original order without any dendrogram. For
> the above statement i am getting an error:
>
> Error in image.default(1:nc, 1:nr, x, xlim = 0.5 + c(0, nc),
> ylim = 0.5 + :
> dimensions of z are not length(x)(+1) times length(y)(+1)
>
> I also tried using ,
> heatmap.2(z,Colv=NULL,dendrogram="row",col=redgreen(75))

> for which i am getting the output, but the columns are
> reordered. How can this be done for the way in which i want
> the map to appear?
>
> Thanks,
> svakki.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html



LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 23 05:09:34 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 06:23:11 EST