From 13f5837b4ce12aca681b15e985738f95c4045ad5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 7 Jan 2019 16:26:54 +0100 Subject: gnu: Add r-densityclust. * gnu/packages/cran.scm (r-densityclust): New variable. --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 9aa6e3b270..4ffcdbab36 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -8747,3 +8747,33 @@ only sparse real matrices in Matrix package format are supported.") ;; SVDLIBC is released under BSD-2. The R interface is released under ;; BSD-3. (license (list license:bsd-3 license:bsd-2)))) + +(define-public r-densityclust + (package + (name "r-densityclust") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "densityClust" version)) + (sha256 + (base32 + "1zry0vafajzmr37aylglxfvwplhdygbkb9cvzvh8cy0xgnjrnx13")))) + (properties `((upstream-name . "densityClust"))) + (build-system r-build-system) + (propagated-inputs + `(("r-fnn" ,r-fnn) + ("r-ggplot2" ,r-ggplot2) + ("r-ggrepel" ,r-ggrepel) + ("r-gridextra" ,r-gridextra) + ("r-rcolorbrewer" ,r-rcolorbrewer) + ("r-rcpp" ,r-rcpp) + ("r-rtsne" ,r-rtsne))) + (home-page "https://cran.r-project.org/web/packages/densityClust") + (synopsis "Clustering by fast search and find of density peaks") + (description + "This package provides an improved implementation (based on k-nearest +neighbors) of the density peak clustering algorithm, originally described by +Alex Rodriguez and Alessandro Laio (Science, 2014 vol. 344). It can handle +large datasets (> 100,000 samples) very efficiently.") + (license license:gpl2+))) -- cgit 1.4.1