save_plot: Save a ggplot2 plot in pdf and png format using consistent...

save_plotR Documentation

Save a ggplot2 plot in pdf and png format using consistent naming

Description

Save a ggplot2 plot in pdf and png format using consistent naming

Usage

save_plot(gg, experiment_folder, result_folder = NULL, suffix = "", ...)

Arguments

gg

ggplot2 plot

experiment_folder

Path to folder containing IDOC results .csv files

result_folder

Path to a folder where to save results. If not passaed, it is set to experiment_folder

suffix

A character (word) that will differentiate resulting output from other output produced on the same experiment folder. Useful for segmenting the experiment into different periods of interest and analyzing these periods separately.

...

Extra arguments for ggsave

See Also

ggplot2::ggsave()


shaliulab/idocr documentation built on June 1, 2025, 4:59 p.m.