[R] Help with heatmap & hclust

2013-07-02 Thread sara sadozai
hello i have a problem since days with the heatmap function and my own cluster function... i try to put it like this but it is not working : heatmap(data, hclustfun=function(x)myclust(x)) where myclust is a simple fonction myclust= function(data){ #D=dist(data) hc=hclust(D) #mclust= as.mclust

[R] Help with heatmap

2010-05-17 Thread Meng Wu
HI, I am trying to create a heatmap with 24 samples with 15672 varibles, I read in the table in R, and then made it as a matrix, then try to create the heatmap using heatmap(x,...) However, I received the error message as: > heatmap(t(x)) Error: cannot allocate vector of size 936.8 Mb R(2925,0xa0