summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-12-18 11:59:39 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-12-18 12:01:35 +0100
commitfff9b8843918c4ab9740d9aa355506cd3d24bbc8 (patch)
tree79a8f9bdd25753e2ac9fffff1abe73bf1e19ff0b /gnu/packages
parent007f6d9885b81543b02489e503e51264677ed132 (diff)
downloadguix-fff9b8843918c4ab9740d9aa355506cd3d24bbc8.tar.gz
gnu: Add r-diffusionmap.
* gnu/packages/graph.scm (r-diffusionmap): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/graph.scm26
1 files changed, 26 insertions, 0 deletions
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")