Draw a heatmap with "super big" matrix

Viewed 2217

I want to draw a heatmap.
I have 100k*100k square matrix (50Gb(csv), numbers on right-top side and other filled by 0).

I want to ask "How can I draw a heatmap with R?" with this huge dataset.
I'm trying to this code on large RAM machine.

d = read.table("data.csv", sep=",")
d = as.matrix(d + t(d))
heatmap(d)

I tried some libraries like heatmap.2(in gplots) or something.
But they are take so much time and memories.

1 Answers
Related