summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-25 11:30:49 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-08-25 11:55:11 +0200
commitdfa373069df55bb4eb6e13792336db8e0fb85d1d (patch)
tree7178336ed7315fc6b35f19c240c99067ca702442
parentee221461c3ce52733906ba37e5c9c3dfa562c5af (diff)
downloadguix-dfa373069df55bb4eb6e13792336db8e0fb85d1d.tar.gz
gnu: Add r-glmpca.
* gnu/packages/cran.scm (r-glmpca): New variable.
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ed541dd720..a52493fa4d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -393,6 +393,28 @@ Gaussian quadrature for a numerical solution.")
 Distance (EMD).")
     (license license:expat)))
 
+(define-public r-glmpca
+  (package
+    (name "r-glmpca")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "glmpca" version))
+              (sha256
+               (base32
+                "02xjf0gg52925hw9nw2j0znfmzfzfwbv0fxjl9d2fy9j63drr2h4"))))
+    (properties `((upstream-name . "glmpca")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-mass))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/willtownes/glmpca")
+    (synopsis "Dimension Reduction of Non-Normally Distributed Data")
+    (description
+     "This package implements a generalized version of principal components
+analysis (GLM-PCA) for dimension reduction of non-normally distributed data
+such as counts or binary matrices.")
+    (license license:lgpl3+)))
+
 (define-public r-googledrive
   (package
     (name "r-googledrive")