aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-04-19 15:38:25 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-19 15:38:46 +0200
commit9b86fea05f223a3215e19cccc75d3504f707a1c2 (patch)
tree68db533c904cabef5e0a1a2f6ef37dedc3508134
parent7015ae6881e2cb6cbcb2bcab817c2c751d118416 (diff)
downloadgnu-guix-9b86fea05f223a3215e19cccc75d3504f707a1c2.tar
gnu-guix-9b86fea05f223a3215e19cccc75d3504f707a1c2.tar.gz
gnu: Add r-sctransform.
* gnu/packages/cran.scm (r-sctransform): New variable.
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8816b2082b..5ea36cfdd6 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -13888,3 +13888,35 @@ regular expressions. Regular expressions are a very powerful feature, however
they are often difficult to interpret. Rex allows you to build complex
regular expressions from human readable expressions")
(license license:expat)))
+
+(define-public r-sctransform
+ (package
+ (name "r-sctransform")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "sctransform" version))
+ (sha256
+ (base32
+ "1r5kiqqs318q59h2i8m7c6nhghp9w6q26ss2y5a390lkhsawgx6p"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-future" ,r-future)
+ ("r-future-apply" ,r-future-apply)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-gridextra" ,r-gridextra)
+ ("r-mass" ,r-mass)
+ ("r-matrix" ,r-matrix)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcppeigen" ,r-rcppeigen)
+ ("r-reshape2" ,r-reshape2)))
+ (home-page "https://github.com/ChristophH/sctransform")
+ (synopsis "Variance stabilizing transformations for Single Cell UMI Data")
+ (description
+ "This package provides a normalization method for single-cell UMI count
+data using a variance stabilizing transformation. The transformation is based
+on a negative binomial regression model with regularized parameters. As part
+of the same regression framework, this package also provides functions for
+batch correction, and data correction.")
+ (license license:gpl3)))