Description Usage Arguments Value
View source: R/microbiome_helpers.R
An alternate version of phyloseq::plot_bar
1 2 3 |
physeq |
valid phyloseq object |
rank |
character, the taxa rank to plot, must be one of |
glom |
logical, should the taxa be aggregated at the level of |
x |
character, the sample variable to plot on the x-axis |
xlabs |
character vector, labels to use on the x-axis |
position |
character, for geom_bar |
palette |
Either a valid RColorBrewer palette or "iwanthue" to generate a random palette |
pal_seed |
Seed for generating palette. Set to NULL for random |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.