Skip to content

About the breakpoint when making heatmap with lots of variables

2 messages · Meng Wu, Shi, Tao

#
The "breakpoint" you mentioned is irrelevant here.  Clustering 15672 
genes (I assume this is a microarray data) requires lots of memory.  I 
suggest you either filter your gene list down to thousands or just plot 
the column dendrogram without showing the heatmap.

plot(hclust(dist(x)))

...Tao




----- Original Message ----
I am trying to create a heatmap with 24 samples with 15672
in the table in R, and then made it as a matrix, then try to
heatmap using heatmap(x,...)

However, I received the error
Error: cannot allocate vector of size 936.8
R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error
*** error: can't allocate region
*** set a breakpoint in
R(2925,0xa0b16500) malloc: ***
*** error: can't allocate
*** set a breakpoint in malloc_error_break to
R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error
*** error: can't allocate region
*** set a breakpoint in
R(2925,0xa0b16500) malloc: ***
*** error: can't allocate
*** set a breakpoint in malloc_error_break to
R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error
*** error: can't allocate region
*** set a breakpoint in
R(2925,0xa0b16500) malloc: ***
*** error: can't allocate
*** set a breakpoint in malloc_error_break to
R(2925,0xa0b16500) malloc: *** mmap(size=982261760) failed (error
*** error: can't allocate region
*** set a breakpoint in
It seems like I do not have enough
suggested?

Thanks,

Meng
______________________________________________
PLEASE do read the posting
and provide commented,