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

Remo Chiozzotto remo.chiozzotto at ibba.cnr.it
Wed Jul 16 17:57:13 CEST 2014


Thanks Dan,
everything works smoothly again. I thought I had the last version but I 
was wrong.

Ciao

Remo

On 16/07/2014 15:51, DaN wrote:
> 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