Alpha diversity measures (skbio.diversity.alpha
)#
This package provides implementations of various alpha diversity [1] metrics, including measures of richness, diversity, evenness, dominance, and coverage.
Some functions generate confidence intervals (CIs). These functions have the
suffix _ci
.
Richness metrics#
Richness [2] measures the number of species (taxa) in a community.
Due to incomplete sampling, the number of observed species (sobs
) in a
sample is usually lower than the true number of species in the community.
Metrics have been proposed to estimate the latter based on the distribution
of observed species in the sample.
|
Calculate the ACE metric (Abundance-based Coverage Estimator). |
|
Calculate Chao1 richness estimator. |
|
Calculate Chao1 confidence interval. |
|
Calculate number of double-occurrence taxa (doubletons). |
|
Calculate Faith's phylogenetic diversity (Faith's PD) metric. |
|
Calculate Margalef's richness index. |
|
Calculate Menhinick's richness index. |
|
Calculate Michaelis-Menten fit to rarefaction curve of observed taxa. |
|
Calculate the number of distinct features. |
|
Calculate the number of distinct OTUs. |
|
Calculate observed taxa, singletons, and doubletons. |
|
Calculate number of single-occurrence taxa (singletons). |
|
Calculate the observed species richness of a sample. |
Diversity metrics#
Diversity [3] measures the number and relative abundances of species (taxa) in a community. It combines richness and evenness.
Some diversity metrics describe the effective number of species (a.k.a., true diversity) – the number of equally-abundant species that produce the same diversity measurement.
|
Calculate Brillouin's diversity index. |
|
Calculate ENS_pie alpha diversity measure. |
|
Calculate Fisher's alpha, a metric of diversity. |
|
Calculate Hill number. |
|
Calculate inverse Simpson index. |
|
Calculate Kempton-Taylor Q index of alpha diversity. |
|
Calculate generalized phylogenetic diversity (PD) metrics. |
|
Calculate Renyi entropy. |
|
Calculate Shannon's diversity index. |
|
Calculate Simpson's diversity index. |
|
Calculate Tsallis entropy. |
Evenness metrics#
Evenness [4] (or equitability) measures the closeness of species (taxa) in a community in terms of abundance (number of individuals within the species). The calculation of evenness involves the relative abundances of species.
|
Calculate Heip's evenness measure. |
|
Calculate McIntosh's evenness measure. |
|
Calculate Pielou's evenness index. |
|
Calculate Simpson's evenness index. |
Dominance metrics#
Dominance [5] (or concentration) measures the degree that one or a few most abundant species (taxa) represent the great majority of a community. It can be considered as a measure of community unevenness.
It should be noted that higher dominance corresponds to lower biodiversity.
|
Calculate Berger-Parker dominance index. |
|
Calculate Simpson's dominance index. |
|
Calculate the Gini index. |
|
Calculate McIntosh dominance index. |
|
Calculate Simpson's dominance index, a.k.a. |
|
Calculate Strong's dominance index. |
Coverage metrics#
Coverage [6] measures the proportion of individuals of a community that have been observed (or unobserved) in a sample. It describes the completeness of sampling.
|
Calculate Esty's confidence interval of Good's coverage estimator. |
|
Calculate Good's coverage estimator. |
|
Calculate single CI of the conditional uncovered probability. |
|
Calculate single point estimate of conditional uncovered probability. |
|
Calculate Robbins' estimator for probability of unobserved outcomes. |
References#
Good, I. J. (1953). The population frequencies of species and the estimation of population parameters. Biometrika, 40(3-4), 237-264.