[R] reorder bug in heatmap.2?

From: Jake Michaelson <jjmichael_at_comcast.net>
Date: Fri 22 Jul 2005 - 01:43:25 EST


I want to plot a heatmap without reordering the columns. This works fine in "heatmap":

> heatmap(meanX[selected,], col=cm.colors(256), Colv=NA)

But in "heatmap.2" I get:

> heatmap.2(meanX[selected,], col=cm.colors(256), Colv=NA)
Error in if (!is.logical(Colv) || Colv) ddc <- reorder(ddc, Colv) :

        missing value where TRUE/FALSE needed

(Note that instructions for the use of "Colv" and "Rowv" are identical in both heatmap and heatmap.2 documentation)

Is there another way to not reorder columns in heatmap.2?

Thanks in advance,

Jake



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 Fri Jul 22 02:16:54 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:55 EST