plot_frequencies: Plot Frequencies

Description Usage Arguments Details Value Examples

View source: R/plot_frequencies.R

Description

Plot relative frequencies within each Group for the levels of the given factor.

Usage

1
plot_frequencies(x, Groups, Factor)

Arguments

x

data.frame

Groups

Name of the grouping variable

Factor

Name of the frequency variable

Details

For table with the indicated frequencies, see the returned phyloseq object.

Value

ggplot plot object.

Examples

1
2
data(dietswap)
p <- plot_frequencies(meta(dietswap), 'group', 'sex')

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.