Skip to content

For practice, calculate alpha and beta diversity from OTUs

Notifications You must be signed in to change notification settings

Listen-Lii/abdiv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

For practice, calculate alpha and beta diversity from OTUs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages