Parallel and Memory-Efficient Ecological Diversity Metrics
Overview
Computes alpha and beta diversity metrics using concurrent 'C' threads. Metrics include 'UniFrac', Faith's phylogenetic diversity, Bray-Curtis dissimilarity, Shannon diversity index, and many others. Also parses newick trees into 'phylo' objects and rarefies feature tables.
- When using CLR normalization:
- Warns when zeros are detected and
pseudocountisNULL. - Then continues with
pseudocount <- min(counts[counts>0]) / 2.
Breaking Changes
normnow defaults to"none"instead of"percent".normparameter was removed from some beta diversity functions.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 66 (8 internal)
- Examples that run
- 100%56 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 11%
- Help pages citing references
- 74%
- Introduction to ecodive HTML
- Alpha Diversity HTML
- Beta Diversity HTML
- Performance Guide HTML
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Releases over time
Issues over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/cmmr/ecodive on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-06-04 · The repository has a site deploy workflow
pkgdown site last built 2026-06-04
Show all practicesHide 1 practice
Dependencies
Installing ecodive adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.2.6Latest
- 2.2.22026-01-16 · diff ↗
- 2.2.12025-12-12 · diff ↗
- 2.2.02025-12-04 · diff ↗
- 2.1.02025-09-26 · diff ↗
- 2.0.02025-09-21 · diff ↗ ·
removed 3 exports
bray_curtis, kulczynski, weighted_normalized_unifracadded 40 exports
alpha_div, ace, berger, brillouin, fisher, margalef, mcintosh, menhinick, observed, squares, beta_div, aitchison, bhattacharyya, bray, chebyshev, chord, clark, divergence, hamming, hellinger, horn, jensen, jsd, lorentzian, matusita, minkowski, morisita, motyka, normalized_unifrac, ochiai and 10 more - 1.0.02025-08-22
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-08-22
- Total releases
- 7 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 0.6 KB / 2 files
- Download size
- 205 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ecodive")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.