Save a stacked barplot.

save_barplot(plot, filename)

Arguments

plot

The plot object.

filename

The name of the file. (an extension should not be included)

See also

Examples

# NOT RUN {
if (interactive()) {
  library(MicrobiomeR)
  save_barplot(plot = plot, filename = "stacked_bar_phylum")
}
# }