← Back to home
Comparison · Analytics

ecodive vs tglkmeans

A side-by-side editorial comparison of ecodive and tglkmeans — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

ecodive vs tglkmeans: at a glance

Featureecodivetglkmeans
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesmicrobiome, ecology, diversity-metrics, unifracr-package, clustering, missing-data, correctness
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is ecodive?

ecodive rebuilt itself into a broad diversity-metric library, breaking as it went

ecodive computes alpha and beta diversity metrics for ecological and microbiome count data, including phylogenetic measures like Faith's PD and the UniFrac family. The 2.0.0 rewrite expanded it from a handful of metrics to roughly fourteen alpha and thirty beta measures while flipping the expected input orientation to samples-as-rows. Subsequent releases have been spent settling the normalisation interface that expansion exposed.

Read the full ecodive trajectory →

What is tglkmeans?

A k-means implementation that just told users their Spearman clustering on missing data was wrong

tglkmeans is a multi-core k-means implementation with seeding, aimed at single-cell and other large matrix workloads. Version 0.4.0 flipped the id_column default and moved to R's random number generator, 0.5.x added count-matrix downsampling and fixed id handling, and 0.6.3 in May 2026 is a correctness release: Spearman distance was ranking missing values as the largest value instead of dropping them, and predict_tgl_kmeans() with Euclidean distance did not reproduce the training metric when a cluster center had a missing dimension.

Read the full tglkmeans trajectory →

ecodive vs tglkmeans: editorial side-by-side

E
ecodive
ANALYTICS
0.0

ecodive rebuilt itself into a broad diversity-metric library, breaking as it went

◆ Current state

ecodive computes alpha and beta diversity metrics for ecological and microbiome count data, including phylogenetic measures like Faith's PD and the UniFrac family. The 2.0.0 rewrite expanded it from a handful of metrics to roughly fourteen alpha and thirty beta measures while flipping the expected input orientation to samples-as-rows. Subsequent releases have been spent settling the normalisation interface that expansion exposed.

◆ Where it's heading

This is a package that made its breaking changes deliberately and in a cluster. After 2.0.0 reoriented input and removed the weighted parameter, 2.1.0 superseded rescale with norm, and 2.2.6 changed norm's default from percent to none and removed it from some beta functions entirely. That last one matters more than it reads: normalisation defaults silently change the numbers a metric returns, and the direction is toward making the user state their choice rather than inheriting one.

◆ Prediction

With the metric surface broad and the normalisation interface now explicit, expect the next releases to stabilise — documentation and edge-case handling around CLR and rarefaction rather than another interface break.

T
tglkmeans
ANALYTICS
0.0

A k-means implementation that just told users their Spearman clustering on missing data was wrong

◆ Current state

tglkmeans is a multi-core k-means implementation with seeding, aimed at single-cell and other large matrix workloads. Version 0.4.0 flipped the id_column default and moved to R's random number generator, 0.5.x added count-matrix downsampling and fixed id handling, and 0.6.3 in May 2026 is a correctness release: Spearman distance was ranking missing values as the largest value instead of dropping them, and predict_tgl_kmeans() with Euclidean distance did not reproduce the training metric when a cluster center had a missing dimension.

◆ Where it's heading

The package handles missing data across three distance metrics, and 0.6.3 shows those paths had drifted apart — Spearman behaved unlike Euclidean and Pearson, and prediction behaved unlike training. Both fixes change results on affected data, and the release notes are careful to bound exactly where: Spearman on data with NAs changes, complete data does not. Performance work runs alongside, with the dense per-thread vote matrix removed from the reassignment step.

◆ Prediction

With the metric paths now aligned on missing-value handling, further work is more likely to target the parallel reassignment internals than the distance semantics.

Alternatives to ecodive and tglkmeans

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either ecodive or tglkmeans.

See all ecodive alternatives → · See all tglkmeans alternatives →

Recent activity from ecodive and tglkmeans

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 2mo agotglkmeansSpearman metric no longer ranks missing values as the largest
  2. 4mo agoecodiveNormalisation now defaults to none, with CLR zero warnings
  3. 7mo agoecodiveecodive 2.2.2
  4. 10mo agoecodiverescale superseded by norm; crash fixes after the 2.0.0 rewrite
  5. 10mo agoecodive2.0.0 expands to ~14 alpha and ~30 beta diversity metrics
  6. 2y agotglkmeansFixes corrupted cluster ids and dropped dimnames
  7. 2y agotglkmeansAdds downsample_matrix() for count matrices
  8. 2y agotglkmeansBreaking: id_column defaults to FALSE, switches to R's RNG

Frequently asked questions

What is the difference between ecodive and tglkmeans?

Both compete on the same themes — r-package — within Analytics. ecodive and tglkmeans are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is ecodive better than tglkmeans?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. ecodive and tglkmeans are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to ecodive?

Top ecodive alternatives in Analytics are ranked by recent ship velocity. Browse the "ecodive alternatives" section above for the current picks, or visit /alternatives/ecodive for the full list with editorial commentary on each.

What are the best alternatives to tglkmeans?

Top tglkmeans alternatives in Analytics are ranked by recent ship velocity. Browse the "tglkmeans alternatives" section above for the current picks, or visit /alternatives/tglkmeans for the full list with editorial commentary on each.