[Rd] heatmap without dendrogams (PR#13512)

j.j.goeman at lumc.nl j.j.goeman at lumc.nl
Mon Feb 9 22:30:13 CET 2009

Full_Name: Jelle Goeman
Version: 2.8.1
OS: Win XP
Submission from: (NULL) (

I get the following error message when I try to make a heatmap (package stats),
without the associated dendrograms.

X <- matrix(rnorm(200),20,10)
XX <- crossprod(X)
heatmap(XX, Rowv= NA, revC=TRUE)
Error in rev(ddr) : object "ddr" not found
heatmap(XX, Rowv= NA, sym=TRUE)
Error in heatmap(XX, Rowv = NA, sym = TRUE) : object "ddr" not found
According to the help file, this should work; indeed it does if I set revC or
sym to FALSE. Seems like ddr should be initialized to something like 1:ncol(X)
for the no-dendrogram case.

Kind regards,


More information about the R-devel mailing list