[R] Heatmap, and heatmap.2 gave different figures for the same dataset
capricy gao
capricyg at yahoo.com
Thu Dec 12 16:45:09 CET 2013
I have a huge dataset(15k X 18) and tried to use the heatmap in R to examine the patterns. However, I found that heatmap and heatmap.2 gave me completely different outputs.
Here are the codes:
------------
> dim(as.matrix(data.dcpm))
[1] 15462 18
>
> heatmap(as.matrix(data.dcpm), col=topo.colors(100))
> heatmap.2(as.matrix(data.dcpm), col=topo.colors(100), key=TRUE, density.inf="none",trace="none", scale="none")
-------
The outputs are attached here.
Could anyone help me figure out why?
Thanks a lot:)
More information about the R-help
mailing list