plot_sparsity: Plot taxa/OTU table to evaluate sparsity.

Description Usage Arguments Value References See Also Examples

View source: R/plot_functions.R

Description

Taxa/OTU are ordered by their prevalence in the dataset, and samples are ordered by their richness (or completedness).

Usage

1

Arguments

physeq

phyloseq-class

title

A title to the mean-variance plot

Value

A ggplot object

References

Adapted from Thorsen and Brejnrod et al. (2016).

See Also

plot_mv,taxa_prev, sample_prev

Examples

1
2
3
4
5
6
## Not run: 
require(phyloseq)
data(enterotype)
(entero.sparse<-plot_sparsity(enterotype, title = "Sparsity Plot")

## End(Not run)

cpauvert/psadd documentation built on Nov. 22, 2020, 9:19 a.m.