SEQanswers

SEQanswers (http://seqanswers.com/forums/index.php)
-   Bioinformatics (http://seqanswers.com/forums/forumdisplay.php?f=18)
-   -   what's wrong with heatmap.2, heatmap turns to blue after finishing plotting (http://seqanswers.com/forums/showthread.php?t=32919)

crazyhottommy 08-20-2013 08:43 AM

what's wrong with heatmap.2, heatmap turns to blue after finishing plotting
 
Hi everyone,

I was plotting a transcription factor ChIP-seq data at TSS with heatmap.2

http://s24.postimg.org/njywavo7p/Selection_015.png

the problem is that the plot becomes blue after plotting as the green-red colour setting.
if you resize the window, you can see the red signal enriched at the TSS, but once finished plotting, the blue spread to the whole figure and I could not see anything...

See the picture above.

what's wrong with heatmap.2?

rboettcher 08-20-2013 09:46 AM

I don't think this is a problem of the heatmap function, but more of your system. It seems that your data matrix is quite huge, so may I ask on what kind of hardware you are creating this heatmap? It may be that your RAM is too small or your graphics card simply cannot handle this much output.
As a possible solution: have you tried to save the plot to file directly and to open the file afterwards?

crazyhottommy 08-20-2013 10:57 AM

Quote:

Originally Posted by rboettcher (Post 113967)
I don't think this is a problem of the heatmap function, but more of your system. It seems that your data matrix is quite huge, so may I ask on what kind of hardware you are creating this heatmap? It may be that your RAM is too small or your graphics card simply cannot handle this much output.
As a possible solution: have you tried to save the plot to file directly and to open the file afterwards?

yes, I tried to save it first, and after open it, it is still covered by blue.

The matrix is somewhat large, with 1728 rows and 601 columns, but many of them are 0s.

computer info:
Ubuntu 12.04 (precise)
Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
4G memory

I will try to run it on High performance cluster in our school to see if it has the same problem. Thanks!

crazyhottommy 08-20-2013 12:02 PM

solved in Biostar.

I need to put the trace="none" when I plot the heatmap
Thanks.


All times are GMT -8. The time now is 08:05 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.