Description Usage Arguments Details Value Examples
View source: R/plot_frequencies.R
Plot relative frequencies within each Group for the levels of the given factor.
1 | plot_frequencies(x, Groups, Factor)
|
x |
|
Groups |
Name of the grouping variable |
Factor |
Name of the frequency variable |
For table with the indicated frequencies, see the returned phyloseq object.
ggplot
plot object.
1 2 | data(dietswap)
p <- plot_frequencies(meta(dietswap), 'group', 'sex')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.