This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ggheatmap R script error.

Hi all,

I'm using this r script (https://cwcode.wordpress.com/2013/01/30/ggheatmap-version-2/) in order to perform a nice heatmap automatically. At the beginning, it works as expected, but if I increase the size of the dataset, it crashes. I'm not very good at R, I'm starting, so I don't know exactly what it is going on. I guess that maybe memory problems. This is the error message:

Error in grid.Call.graphics(L_upviewport, as.integer(n)) :
  cannot pop the top-level viewport ('grid' and 'graphics' output mixed?)
Error in grid.Call.graphics(L_upviewport, as.integer(n)) :
  cannot pop the top-level viewport ('grid' and 'graphics' output mixed?)
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Error during wrapup: evaluation nested too deeply: infinite recursion / options(expressions=)?

Anyone can suggest me how to solve this issue? My input dataset has 62 columns and 16956 number of rows. If I extract the first 10000 rows, the script works OK.

Any help would be really appreciated.

r

This is really a question more appropriate for R help resources because this is a problem with R, not a bioinformatics question.

Can you please post your R code in your question so we can see what you are doing? I assume you're taking the code you grabbed from the link you provided and modifying it.

0 answers

No answers yet.

Log in to answer this question.