OTU.diversity: Summarize Diversity Indices for OTU Tables

Description Usage Arguments Details Value Note Author(s) References Examples

Description

These functions calculate diversity indices for all samples and append outputs as new columns to metadata table.

Usage

1

Arguments

data

a list of OTU tables.

meta

the metadata to append the outputs.

Details

This function summarize the following diversity indices: specnumber, shannon, simpson, invsimpson, true diversity, evenness, chao and ACE indices, for a given otu table. See diversity.indices)

Value

This function return vectors of diversity indices for each sample, which are appended to a given metadata table.

Note

Credit goes to package vegan for the partial argument matching (see References), and for the calculation of all diversity indices except for true diversity and evenness.

Author(s)

Wen Chen.

References

Jari Oksanen, F. Guillaume Blanchet, Roeland Kindt, Pierre Legendre, Peter R. Minchin, R. B. O'Hara, Gavin L. Simpson, Peter Solymos, M. Henry H. Stevens and Helene Wagner (2013). vegan: Community Ecology Package. R package version 2.0-10. http://CRAN.R-project.org/package=vegan

Diversity index. (2014, May 7). In Wikipedia, The Free Encyclopedia. Retrieved 14:57, May 28, 2014, from http://en.wikipedia.org/w/index.php?title= Diversity_index&oldid=607510424

Blackwood, C. B., Hudleston, D., Zak, D. R., & Buyer, J. S. (2007) Interpreting ecological OTU.diversity applied to terminal restriction fragment length polymorphism data: insights from simulated microbial communities. Applied and Environmental Microbiology, 73(16), 5276-5283.

Examples

1
2
3
4
5
6
data(ITS1, ITS2, meta)
data=list(ITS1=ITS1, ITS2=ITS2)
## Not run: 
meta.diversity<-OTU.diversity(data=data, meta=meta)

## End(Not run)

Example output

Loading required package: vegan
Loading required package: permute
Loading required package: lattice
This is vegan 2.4-4
Loading required package: ggplot2
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied

RAM documentation built on May 2, 2019, 3:04 p.m.