Thursday, February 5, 2026
Measures diversity within a single sample
Captures two key aspects:
github.com/mblstamps/stamps2019
Alpha diversity, ageing and body-mass index across the life span.
Data: HITChip Atlas, Lahti et al. Nat Comm 2014
\[ R = \text{Number of unique species} \]
Observed richness
True richness to be estimated based on a finite sample (Sanders, 1968).
Chao1: is more sensitive to sampling effort
ACE: more stable, emphasizes information from rare taxa
\[ H' = - \sum_{i=1}^{R} p_i \log(p_i) \]
where:
\(p_i\) = relative abundance of species \(i\)
\(R\) = total number of species
Combines richness and evenness in one metric.
\[ E = \frac{Shannon\ diversity}{ln(Obs.\ Richness)} = \frac{H}{ln(S)}\]
Maximum relative abundance in the sample; or relative abundance \(p_i\) of the most abundant type.
\[ max_i (p_i) \]
Simpson index \(\lambda\) measures how likely two randomly picked individuals represent the same species.
\[\lambda = \sum_{i=1}^{R} p_i^2\]
where:
\(p_i\) = relative abundance of species \(i\)
\(R\) = richness, or the number of unique species
However, the original Simpson index \(\lambda\) decreases with diversity. Therefore we typically use:
Inverse Simpson: \(1 / \lambda\) (the most common case of Simpson’s diversity)
Reciprocal Simpson (or Gini-Simpson): \(1 - \lambda\)
True diversity, the effective number of types, refers to the number of equally abundant types needed for the average proportional abundance of the types to equal what is observed in the dataset of interest.
\[ ^qD = \frac{1}{M_{q-1}} = (\sum_{i=1}^R p_i^q)^\frac{1}{1-q}, \]
where (again)
Common diversity measures are special cases:
Faith index incorporates phylogenetic differences (tree) to diversity: sum of branch lengths in a phylogenetic tree that connects all species present in a sample.
Phylogenetic diversity provides increased statistical power to differentiate age groups in shotgun metagenomics but not in 16S rRNA sequencing.
Armstrong et al. (2021), Genome Research.
Phylogenetic tree colored by age-group log of the likelihood ratio of older to younger adults per node.