[Rd] heatmap without dendrogams (PR#13512)

From: <j.j.goeman_at_lumc.nl>
Date: Mon, 09 Feb 2009 22:30:13 +0100 (CET)


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

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,

Jelle



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 09 Feb 2009 - 21:37:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Feb 2009 - 19:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive