spreadplot {microbiome}R Documentation

Abundance Spread Plot

Description

Visualize abundance spread for OTUs

Usage

spreadplot(x, trunc = 0.001/100)

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

Value

ggplot2 object

Author(s)

Contact: Leo Lahti microbiome-admin@googlegroups.com

References

See citation('microbiome')

Examples

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

[Package microbiome version 1.8.0 Index]