R/visualization.R
save_plot.Rd
Save Plot to File
save_plot(plot, filename, width = 10, height = 8, dpi = 300)
ggplot object
Output filename
Plot width in inches
Plot height in inches
Resolution in dots per inch
Invisible NULL
if (FALSE) { # \dontrun{ p <- plot_qte_heatmap(qte_results) save_plot(p, "heatmap.png") } # }