View source: R/plot_frequencies.R
plot_frequencies | R Documentation |
Plot relative frequencies within each Group for the levels of the given factor.
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.
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.