I want to use heatmap.2 in R to draw a heatmap. like this:
library(gplots)
heatmap.2(as.matrix(data), col=redgreen(75), scale="row", key=T,
keysize=1.5,density.info="none", trace="none",cexCol=0.9, labRow=NA)
However, when it running, an error like this happen:
Error in setmid(d[[j]], type) : node stack overflow
Can anyone give me some suggestions?