Related Experiment Video
Updated: Jul 9, 2025

Assisted Selection of Biomarkers by Linear Discriminant Analysis Effect Size LEfSe in Microbiome Data
Published on: May 16, 2022
LMdist: Local Manifold distance accurately measures beta diversity in ecological gradients
Susan L Hoops1, Dan Knights1,2
1Department of Computer Science and Engineering, College of Science and Engineering, University of Minnesota, Minneapolis, MN 55455, United States.
Motivation:
Differentiating ecosystems poses a complex, high-dimensional problem constrained by capturing relevant variation across species profiles. Researchers use pairwise distances and subsequent dimensionality reduction to highlight variation in a few dimensions. Despite popularity in analysis of ecological data, these low-dimensional visualizations can contain geometric abnormalities such as "arch" and "horseshoe" effects, potentially obscuring the impact of environmental gradients. These abnormalities appear in ordination but are in fact a product of oversaturated large pairwise distances.
Results:
We present Local Manifold distance (LMdist), an unsupervised algorithm which adjusts pairwise beta diversity measures to better represent true ecological distances between samples. Beta diversity measures can have a bounded dynamic range in depicting long environmental gradients with high species turnover. Using a graph structure, LMdist projects pairwise distances onto a manifold and traverses the manifold surface to adjust pairwise distances at the upper end of the beta diversity measure's dynamic range. This allows for values beyond the range of the original measure. Not all datasets will have oversaturated pairwise distances, nor will capture variation that resembles a manifold, so LMdist adjusts only those pairwise values which may be undervalued in the presence of a sampled gradient. The adjusted distances serve as input for ordination and statistical testing. We demonstrate on real and simulated data that LMdist effectively recovers distances along known gradients and along complex manifolds such as the Swiss roll dataset. LMdist enables more powerful statistical tests for gradient effects and reveals variation orthogonal to the gradient.
Availability And Implementation:
Available on GitHub at https://github.com/knights-lab/LMdist.
Related Concept Videos
Variability: Analysis
The range is a simple measure of variability, indicating the difference between the highest and...
Evolutionary Relationships through Genome Comparisons
Distribution and Dispersion
What is Biodiversity?
What is Variation?
The range, standard deviation, standard error, and variance are the different measures of variation.
Range: The range is the difference between its maximum and...
Quantifying and Rejecting Outliers: The Grubbs Test

