From 3597c736588c45efde3c22d533ea8774c3fdd235 Mon Sep 17 00:00:00 2001 From: Marco Baggio Date: Wed, 22 May 2024 17:42:39 +0200 Subject: gnu: Add r-tglkmeans. * gnu/packages/cran.scm (r-tglkmeans): New variable. Change-Id: I13aa0e8c4ab062993d84c99811971ebf6e9179bd --- gnu/packages/cran.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index aaadc76c16..39bbab1d27 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -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 .") + (license license:expat))) + (define-public r-tgp (package (name "r-tgp") -- cgit v1.2.3