Skip to content

Ckmeans.1d.dp

Optimal, Fast, and Reproducible Univariate Clustering

v4.3.5 · Aug 19, 2023 · LGPL (>= 3)

Description

Fast, optimal, and reproducible weighted univariate clustering by dynamic programming. Four problems are solved, including univariate k-means (Wang & Song 2011) <doi:10.32614/RJ-2011-015> (Song & Zhong 2020) <doi:10.1093/bioinformatics/btaa613>, k-median, k-segments, and multi-channel weighted k-means. Dynamic programming is used to minimize the sum of (weighted) within-cluster distances using respective metrics. Its advantage over heuristic clustering in efficiency and accuracy is pronounced when there are many clusters. Multi-channel weighted k-means groups multiple univariate signals into k clusters. An auxiliary function generates histograms adaptive to patterns in data. This package provides a powerful set of tools for univariate data analysis with guaranteed optimality, efficiency, and reproducibility, useful for peak calling on temporal, spatial, and spectral data.

Downloads

5.9K

Last 30 days

1608th

18.8K

Last 90 days

104.6K

Last year

Trend: -1.6% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (14)

Dependency Network

Dependencies Reverse dependencies Rcpp Rdpack GridOnClusters OptCirClust SILFS SPECK STREAK TidyConsultant autostats kcmeans CytoProfile DiffXTables FunChisq bakR mapsf xgboost Ckmeans.1d.dp

Version History

new 4.3.5 Mar 10, 2026
updated 4.3.5 ← 4.3.4 diff Aug 18, 2023
updated 4.3.4 ← 4.3.3 diff Jan 30, 2022
updated 4.3.3 ← 4.3.2 diff Jul 21, 2020
updated 4.3.2 ← 4.3.0 diff Mar 13, 2020
updated 4.3.0 ← 4.2.2 diff Sep 6, 2019
updated 4.2.2 ← 4.2.1 diff Sep 23, 2018
updated 4.2.1 ← 4.2.0 diff Jul 8, 2017
updated 4.2.0 ← 4.0.1 diff May 29, 2017
updated 4.0.1 ← 4.0.0 diff Feb 15, 2017
updated 4.0.0 ← 3.4.6-6 diff Feb 14, 2017
updated 3.4.6-6 ← 3.4.6-5 diff Jan 2, 2017
updated 3.4.6-5 ← 3.4.6-4 diff Dec 4, 2016
updated 3.4.6-4 ← 3.4.6-3 diff Oct 21, 2016
updated 3.4.6-3 ← 3.4.6-2 diff Oct 4, 2016
updated 3.4.6-2 ← 3.4.6-1 diff Sep 25, 2016
updated 3.4.6-1 ← 3.4.6 diff Aug 29, 2016
updated 3.4.6 ← 3.4.0-1 diff Jun 1, 2016
updated 3.4.0-1 ← 3.4.0 diff May 18, 2016
updated 3.4.0 ← 3.3.3 diff May 7, 2016