[BioC] Problem in generating heatmap after R and Bioconductor Update

DaN tooyoung at gmail.com
Wed Jul 16 15:51:07 CEST 2014


Hi Remo,

There is a bug in the gplots version you are using (2.14.0), which has
been fixed in 2.14.1, so run an update should fix your problem, you
example works fine for me.

> Release 2.14.1 - 2014-06-30
> ---------------------------
> 
> Bug Fixes:
> 
> - Correct bug in Colv dentrogram object dimension checking introduced
>   in 2.14.0.  (Reported by Yong Fuga Li.)

HTH,
Dan

On Wed, 2014-07-16 at 06:35 -0700, Remo [guest] wrote:
> Dear list,
> I'm having issues in generating an heatmap which occurred only after the upgrade to ver. 3.1.1
> Below you find a very easy example which works in previous R version 3.0.2 but not in ver. 3.1.1 giving the following error.
> 
> Error in heatmap.2(t(mtcars), dendrogram = c("col"), Rowv = FALSE, Colv = as.dendrogram(xClust)) :
>   Colv dendrogram doesn't match size of x
> 
> I've also added sessionInfo() for the NOT WORKING case and WORKING case.
> 
> Can anyone help me to understand why a script that was working 2 weeks ago isn't working anymore?
> 
> Thanks for your help
> 
> Remo
> 
> 
> data(mtcars)
> mtcars
> 
> xDist<-dist(mtcars,method="euclidean")
> xClust<-hclust(xDist,method="complete")
> plot(xClust,labels=FALSE)
> 
> heatmap.2(t(mtcars),
>           dendrogram=c("col"),
>           Rowv=FALSE,
>           Colv=as.dendrogram(xClust))
> 
>



More information about the Bioconductor mailing list