savePlot {ORFik} | R Documentation |
Helper function for writing plots to disc
savePlot(plot, output = NULL, width = 200, height = 150)
plot |
the ggplot to save |
output |
character string (NULL), if set, saves the plot as pdf or png to path given. If no format is given, is save as pdf. |
width |
width of output in mm |
height |
height of output in mm |
a ggplot object of the coverage plot, NULL if output is set, then the plot will only be saved to location.
Other coveragePlot: coverageHeatMap
,
pSitePlot
, windowCoveragePlot