For practice, calculate alpha and beta diversity from OTUs
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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.