save_heat_tree_plots: Save Heat Tree Plots

Description Usage Arguments Details Value See Also Examples

Description

This function saves heat tree plots stored in a list object to an output folder.

Usage

1
2
save_heat_tree_plots(htrees, format = "tiff", start_path = "output",
  ...)

Arguments

htrees

A named list of heat trees.

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.

Details

This function creates an appropriate output directory, where it saves publication ready plots.

Value

An output directory that contains heat tree plots.

See Also

output_dir

ggsave

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_correlation_plots, save_ordination_plots, save_stacked_barplots, stacked_barplots, stacked_barplot, top_coefficients_barplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## 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_format}}.
library(MicrobiomeR)
analyzed_silva <- as_MicrobiomeR_format(MicrobiomeR::raw_silva_2, "analyzed_format")
h_trees <- heat_tree_plots(analyzed_silva, rank_list = c("Phylum", "Class"))
# Save to \emph{./output/heat_trees} folder.
save_heat_tree_plots(h_trees)
 }

## End(Not run)

vallenderlab/MicrobiomeR documentation built on Aug. 30, 2019, 11:24 p.m.