Enhanced Volcano Error when drawing connectors
1
0
Entering edit mode
@867c352b
Last seen 5 weeks ago
United States

Hi!

When using Enhanced Volcano, I get the following error when attempting to draw the connecting lines, using drawConnectors = TRUE: " Error in grid.Call(C_convert, x, as.integer(whatfrom), as.integer(whatto), : Viewport has zero dimension(s)". I tried setting maxoverlaps = True, but this did not solve the error.

EnhancedVolcano • 180 views
0
Entering edit mode
@kevin
Last seen 2 hours ago
Republic of Ireland

Apologies for the delay, I travelled back in time but have now returned.

This error is unrelated to EnhancedVolcano. It is implying that you need to increase the dimensions of the graphics device to which your R session is sending output.

If you are exporting to a file (e.g. pdf(), png(), et cetera), you can just increase values for width and height. If you are using RStudio, then don't use RStudio... just kidding. First create a larger graphics device window via dev.new(width = x, height = y), then run EnhancedVolcano(...).

Kevin