title: heatmaps with huge data
body: <p>I'm trying to cluster data and then plotting a heatmap using <code>heatmap.2</code> from <a href="http://cran.r-project.org/package=gplots" rel="nofollow">gplots</a>, the script works perfectly with matrices up to 30000 rows, the problems is that I'm using matrices up to 500000 rows (data_sel), and when I try to cluster I get this error:</p>
  
  <pre><code>heatmap.2(as.matrix(data_sel),col=greenred(10), trace="none",cexRow=0.3, cexCol=0.3,  ColSideColors=fenot.colour, margins=c(20,1), labCol="", labRow="",distfun=function(x) dist(x,method="manhattan"))
  Error in vector("double", length) : vector size specified is too large
  </code></pre>
  
  <p>Is there any approximation using R to plot heatmaps with his big data?</p>
  
  <p>Thanks in advance</p>