Function to automatically save plots to directory of interest
all_plots_save_function(
gobject,
plot_object,
save_dir = NULL,
save_folder = NULL,
save_name = NULL,
default_save_name = "giotto_plot",
save_format = NULL,
show_saved_plot = F,
ncol = 1,
nrow = 1,
scale = 1,
base_width = NULL,
base_height = NULL,
base_aspect_ratio = NULL,
units = NULL,
dpi = NULL,
limitsize = TRUE,
...
)
giotto object
object to plot
directory to save to
folder in save_dir to save to
name of plot
default name to save a plot
format (e.g. png, tiff, pdf, ...)
load & display the saved plot
number of columns
number of rows
scale
width
height
aspect ratio
units
Plot resolution
When TRUE (the default), ggsave will not save images larger than 50x50 inches, to prevent the common error of specifying dimensions in pixels.
additional parameters to ggplot_save_function or general_save_function