From fff9b8843918c4ab9740d9aa355506cd3d24bbc8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 18 Dec 2017 11:59:39 +0100 Subject: [PATCH] gnu: Add r-diffusionmap. * gnu/packages/graph.scm (r-diffusionmap): New variable. --- gnu/packages/graph.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index b5bdfe83fc..70df77b5d2 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -27,6 +27,7 @@ #:use-module (gnu packages gcc) #:use-module (gnu packages bioinformatics) #:use-module (gnu packages compression) + #:use-module (gnu packages cran) #:use-module (gnu packages graphviz) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) @@ -119,6 +120,31 @@ random and regular graphs, graph visualization, centrality methods and much more.") (license license:gpl2+))) +(define-public r-diffusionmap + (package + (name "r-diffusionmap") + (version "1.1-0") + (source + (origin + (method url-fetch) + (uri (cran-uri "diffusionMap" version)) + (sha256 + (base32 + "1l985q2hfc8ss5afajik4p25dx628yikvhdimz5s0pql800q2yv3")))) + (properties `((upstream-name . "diffusionMap"))) + (build-system r-build-system) + (propagated-inputs + `(("r-igraph" ,r-igraph) + ("r-matrix" ,r-matrix) + ("r-scatterplot3d" ,r-scatterplot3d))) + (home-page "http://www.r-project.org") + (synopsis "Diffusion map") + (description "This package implements the diffusion map method of data +parametrization, including creation and visualization of diffusion maps, +clustering with diffusion K-means and regression using the adaptive regression +model.") + (license license:gpl2))) + (define-public r-rgraphviz (package (name "r-rgraphviz")