summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-02-22 18:29:02 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-02-22 18:48:29 +0100
commit9f02ad0cb06b16b67928f30211b0da8fc58d2f37 (patch)
treeeb9e1fcc46b4e627627d501646ad03302bb64ba7 /gnu/packages
parent64772639a200ebcd19c306a31158a0f638c8c7d3 (diff)
downloadguix-9f02ad0cb06b16b67928f30211b0da8fc58d2f37.tar.gz
gnu: Add r-lmds.
* gnu/packages/cran.scm (r-lmds): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/cran.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 59e3296c45..08d6ab7619 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -743,6 +743,30 @@ variables.")
 ")
     (license license:gpl2+)))
 
+(define-public r-lmds
+  (package
+    (name "r-lmds")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lmds" version))
+       (sha256
+        (base32 "130azb0nc2wwxv0qi8v5s4rd02p9lc92zwn634pv7b8awbw81i65"))))
+    (properties `((upstream-name . "lmds")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-assertthat r-dynutils r-irlba r-matrix))
+    (home-page "https://github.com/dynverse/lmds")
+    (synopsis "Landmark multi-dimensional scaling")
+    (description
+     "This package provides a fast dimensionality reduction method scaleable
+to large numbers of samples.  @dfn{Landmark Multi-Dimensional Scaling} (LMDS)
+is an extension of classical Torgerson MDS, but rather than calculating a
+complete distance matrix between all pairs of samples, only the distances
+between a set of landmarks and the samples are calculated.")
+    (license license:gpl3)))
+
 (define-public r-lmodel2
   (package
     (name "r-lmodel2")