export_visualizers: Export cached 'Visualizer' results to image.

View source: R/experiment-helpers.R

export_visualizersR Documentation

Export cached Visualizer results to image.

Description

Export all cached Visualizer results from an Experiment to images in the ⁠viz_results/⁠ directory under the Experiment's results directory (see get_save_dir()).

Usage

export_visualizers(experiment, device = "png", ...)

Arguments

experiment

An Experiment object.

device

See device argument of ggplot2::ggsave().

...

Additional arguments to pass to ggplot2::ggsave() to be used for all visualizations. If not provided, the export_options from each Visualizer will be used.

Value

The original Experiment object passed to export_visualizers.

Examples

## Not run: 
export_visualizers(experiment)
## End(Not run)


Yu-Group/simChef documentation built on Feb. 8, 2025, 1:12 p.m.