spreadplot: Abundance Spread Plot

Description Usage Arguments Value Author(s) References Examples

Description

Visualize abundance spread for OTUs

Usage

1
spreadplot(x, trunc = 0.001/100, alpha = 0.15, width = 0.35)

Arguments

x

phyloseq-class object; or a data.frame with fields "otu" (otu name); "sample" (sample name); and "abundance" (otu abundance in the given sample)

trunc

Truncate abundances lower than this to zero

alpha

Alpha level for point transparency

width

Width for point spread

Value

ggplot2 object

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

1
2
data(dietswap)
p <- spreadplot(transform(dietswap, "compositional"))

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