spreadplot: Abundance Spread Plot

spreadplotR Documentation

Abundance Spread Plot

Description

Visualize abundance spread for OTUs

Usage

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

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

microbiome/microbiome documentation built on Aug. 22, 2023, 7:12 a.m.