From j.j.goeman at lumc.nl  Mon Feb  9 22:30:13 2009
From: j.j.goeman at lumc.nl (j.j.goeman at lumc.nl)
Date: Mon,  9 Feb 2009 22:30:13 +0100 (CET)
Subject: [Rd] heatmap without dendrogams (PR#13512)
Message-ID: <20090209213013.A74FE282EFC1@mail.pubhealth.ku.dk>

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



[Rd] heatmap without dendrogams (PR#13512)
j.j.goeman at lumc.nl