gnu: Add r-tglkmeans.

* gnu/packages/cran.scm (r-tglkmeans): New variable.

Change-Id: I13aa0e8c4ab062993d84c99811971ebf6e9179bd
This commit is contained in:
Marco Baggio 2024-05-22 17:42:39 +02:00 committed by Ricardo Wurmus
parent c46f46f2f3
commit 3597c73658
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4029,6 +4029,46 @@ (define-public r-vegan
data types as well.")
(license license:gpl2+)))
(define-public r-tglkmeans
(package
(name "r-tglkmeans")
(version "0.5.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "tglkmeans" version))
(sha256
(base32 "1plg03k9r4sp8ck5qcj8shblr8378bynyyc7yqwcqv856vkl9icd"))))
(properties `((upstream-name . "tglkmeans")))
(build-system r-build-system)
(propagated-inputs (list r-cli
r-dofuture
r-dplyr
r-future
r-ggplot2
r-magrittr
r-matrix
r-metacell
r-plyr
r-purrr
r-rcpp
r-rcppparallel
r-tgstat
r-tibble))
(native-inputs (list r-knitr))
(home-page "https://tanaylab.github.io/tglkmeans/")
(synopsis "Efficient implementation of K-Means++ algorithm")
(description
"This package provides an efficient implementation of the K-Means++
algorithm. For more information see (1) \"kmeans++ the advantages of the
k-means++ algorithm\" by David Arthur and Sergei Vassilvitskii (2007),
Proceedings of the eighteenth annual ACM-SIAM symposium on Discrete
algorithms, Society for Industrial and Applied Mathematics, Philadelphia, PA,
USA, pp. 1027-1035, and (2) \"The Effectiveness of Lloyd-Type Methods for the
k-Means Problem\" by Rafail Ostrovsky, Yuval Rabani, Leonard J. Schulman and
Chaitanya Swamy <doi:10.1145/2395116.2395117>.")
(license license:expat)))
(define-public r-tgp
(package
(name "r-tgp")