Heat map without order and dendrogram

I have a file with 2 columns and 1 million rows! I just want to build them up without any orders, because I ordered the data. How can I make a heat map with thermal insulation2 without any dendrogram and reordering?

when i use

heatmap.2(x, dendrogram="none") Error: cannot allocate vector of size 4660.6 Gb 

but

I tried without "Rowv"

 heatmap.2(x, Rowv=FALSE) Warning message: In heatmap.2(x, Rowv = FALSE) : Discrepancy: Rowv is FALSE, while dendrogram is `column'. Omitting row dendogram. 
+7
r heatmap
source share
1 answer

I think you have both arguments, you just need to collect them.

 # Generate some sample data. n<-1e6*2 m<-matrix(rnorm(n),ncol=2) # Plot heatmap without reordering or dendrogram. heatmap.2(m,dendrogram='none', Rowv=FALSE, Colv=FALSE,trace='none') 

enter image description here

It is hard to imagine when it would be useful to build as much data as this, but perhaps you have something in mind.

+10
source share

All Articles