Mathematical Foundations of Beta Diversity: Why Common Metrics Fail in Microbiome Analysis
Zihan Zhu, Yiqian ZhangiD, Wenhao Li, Michael Greenacre, Satabdi SahaiD, Yushu ShiiD, Liangliang ZhangiD
Abstract
BackgroundIn microbiome studies, beta diversity quantifies dissimilarity between samples and is often visualized using ordination techniques. It enables researchers to characterize ecological structure, compare microbial communities, assess environmental or host-driven heterogeneity, and track longitudinal shifts over time. Although many diversity indices were originally developed with practical goals in mind, they lack a unified framework to ensure theoretical rigor and validity. This gap makes it challenging for researchers to evaluate and select appropriate beta diversity measures for microbiome analyses, potentially leading to biased analyses and invalid conclusions. ResultsTo bridge the persistent knowledge gaps, we systematically evaluate the commonly used beta diversity measures according to key mathematical properties, including whether they are true metrics, conform to Euclidean geometry, and satisfy conditional negative definiteness. We show that their violations can compromise downstream analyses such as PCoA, PERMANOVA, and kernel-based tests. In addition, drawing on mathematical consensus, we introduce a novel four-category classification of beta diversity measures: scale difference, difference scale, Hamming difference, and distribution difference. Complementing this framework, we build diagnostic tools for assessing Euclidean validity and develop remedial strategies that correct problematic dissimilarity matrices while preserving ordination structures. We demonstrate the effectiveness of these solutions using real-world microbiome datasets. ConclusionsThese results establish a unified framework for evaluating beta diversity in microbiome research, supported by an R package, interactive Shiny app, and step-by-step tutorials. The framework provides a clear roadmap for selecting and refining dissimilarity metrics, paving the way for future methodological advances.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- FWCI
- 10.57
- Field percentile
- top 2%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Reconceptualizing beta diversity: a hypervolume geometric approach
C. Song, M. Lu, … A. Gonzalez·bioRxiv·Nov 27, 2022
- MeLSI: Metric Learning for Statistical Inference in Microbiome Community Composition Analysis
Nathan Bresette, Aaron C. Ericsson, … Ai‐Ling Lin·mSystemsPeer-reviewed·Jun 29, 2026
- Performance Determinants of Unsupervised Clustering Methods for Microbiome Data
- Feature matrix normalization, transformation and calculation of beta-diversity in metagenomics: Theoretical and applied perspectives on your decisions
C. S. Poulsen, F. M. Aarestrup, … C. T. Ekstroem·bioRxiv·Nov 29, 2019
- Beta Diversity Meta-Analysis Shows Transformations Have Broadly Similar Performance in Machine Learning Applications Regardless of Compositional or Phylogenetic Awareness
Daisy Fry Brumit, Alicia A. Sorgen, Anthony A. Fodor·bioRxiv·Jan 23, 2026
- The geometry of the distance-decay of similarity in ecological communities
Joshua Ladau, Jessica L. Green, Katherine S. Pollard·bioRxiv·Oct 9, 2017