Skip to contents

Save a plot to file.

Usage

SavePlot(plot, file, width = 10, height = 8, dpi = 300, ...)

Arguments

plot

Plot object (ggplot or ComplexHeatmap)

file

Output filename

width

Width in inches

height

Height in inches

dpi

Resolution for raster formats

...

Additional arguments