This function saves correlation plots stored in a listlike object to an output folder.
save_correlation_plots(corr, format = "tiff", start_path = "output", ...)
corr | A correlation plot list generated by correlation_plot or correlation_plots. |
---|---|
format | The format of the output image. Default: 'tiff' |
start_path | The starting path of the output directory. Default: 'output' |
... | An optional list of parameters to use in the output_dir function. |
An output directory that contains correlation plots.
This function creates an appropriate output directory, where it saves publication ready plots.
Other Visualizations: alpha_diversity_plot
,
correlation_data
,
correlation_plots
,
correlation_plot
,
heat_tree_parameters
,
heat_tree_plots
,
ordination_plots
,
ordination_plot
, plot_limits
,
save_alpha_diversity_plots
,
save_heat_tree_plots
,
save_ordination_plots
,
save_stacked_barplots
,
stacked_barplots
,
stacked_barplot
,
top_coefficients_barplot
# NOT RUN { if(interactive()){ # This example uses data that are no longer available in the MicrobiomeR package, # however, they can be easily generated with \code{\link{MicrobiomeR}{as_analyzed_silva}}. library(MicrobiomeR) analyzed_silva <- as_MicrobiomeR_format(MicrobiomeR::raw_silva_2, "analyzed_format") corr_plot <- correlation_plot(analyzed_silva, primary_rank = "Class", secondary_rank = "Phylum") # Save to \emph{./output/corr_plot} folder. save_correlation_plots(corr_plot) } # }