[R] Problems with heatmap.2

Sean Davis
Thu, 02 Sep 2004 13:38:48 -0000

heatmap.2(as.matrix(d),Rowv=as.dendrogram(hc.gene),Colv=FALSE,scale="ro
> w
> ",trace="none",col=greenred.colors(79))
>
> The resulting heatmap has re-ordered my columns!  This is time-course
> data, and I don't want my columns re-ordered!  Note from the help:
>
>     Rowv: determines if and how the _row_ dendrogram should be
>           reordered.  Either a 'dendrogram' or a vector of values
used
>           to reorder the row dendrogram or 'FALSE' to suppress
>           reordering or by default, 'NULL', see _Details_ below.
>
>     Colv: determines if and how the _column_ dendrogram should be
>           reordered.  Has the options as the 'Rowv' argument above
and
>           _additionally_ when 'x' is a square matrix, 'Colv =
"Rowv"'
>           means that columns should be treated identically to the rows.