tglkmeans
R package tglkmeans by tanaylab — release notes from GitHub.
A k-means implementation that just told users their Spearman clustering on missing data was wrong
◆Recent moves
- 2mo ago
Spearman metric no longer ranks missing values as the largest
Fixes Spearman distance testing the wrong missing-value sentinel, so NAs were ranked as the maximum and folded into the rank correlation, and aligns predict_tgl_kmeans() with the training distance when centers have missing dimensions. Both change clustering results on affected data, and the notes bound the impact precisely — an unusually candid correctness release.
View source ↗ - 2y ago
Fixes corrupted cluster ids and dropped dimnames
Rolls up four patch releases covering corrupted cluster slot ids with tibble input, ignored rownames, dropped dimnames in downsample_matrix, and a CRAN core limit. Identity handling on input data is the recurring theme.
View source ↗ - 2y ago
Adds downsample_matrix() for count matrices
Adds a function to downsample count matrix columns to a target depth, a standard preprocessing step for single-cell data. The clearest signal of the workloads this package is built around.
View source ↗ - 2y ago
Breaking: id_column defaults to FALSE, switches to R's RNG
Flips the id_column default to FALSE as a declared breaking change, moves from the C++11 to R's random number generator with an opt-out for reproducing old results, and adds RcppParallel parallelization. Changing the RNG alters clustering output, and preserving an escape hatch shows the same care that the 0.6.3 correctness notes display.
View source ↗