README.md

abdiv

For practice, calculate alpha and beta diversity from OTUs

Usage

adiv(x)

function adiv() get alpha diversity indexes, which including Richness, Shannon, Inv_Simpson, Pielou_evenness, and Simpson_evenness indexes.

bdiv(x)

function bdiv() get beta diversity indexes, which including jaccard and bray-curtis distances.

x is the standard OTU table. Rowname is OTU, colname is sample. Data must be anundance. Presence/absence data is not suitable.

state

This pakckage is created to practice and become familar with how to build an R package.

Functions diversity and specnumber in vegan package are used to calculate alpha diversity indexes.

Function vegdist in vegan package is used to calculate beta diversity indexes.



Listen-Lii/abdiv documentation built on Nov. 25, 2019, 3:28 a.m.