Hi

Sorry to revisit an old problem, I seemed to solve this in 2004, only
for it to resurface :-S

I am trying to plot a heatmap, and I don't want the columns of my matrix
re-ordered.  The function doesn't seem to behave as the help would have
you believe:

a <- matrix(rnorm(100),nr=20)
a.d  <- dist(a)
a.hc <- hclust(a.d)
a.de <- as.dendrogram(a.hc)

# columns are re-ordered
heatmap.2(a, Rowv=a.de, Colv=FALSE)

# columns are re-ordered
heatmap.2(a, Rowv=a.de, Colv=1:5)

# columns are re-ordered
heatmap.2(a, Rowv=a.de, dendrogram="row")

# error
heatmap.2(a, Rowv=a.de, Colv=FALSE, dendrogram="row") 

Thanks in advance

Mick


	[[alternative HTML version deleted]]


