Subject: [PATCH 11/13] gnu: Add r-baynorm.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Mon, 6 Nov 2023 12:06:47 +0100

* gnu/packages/bioconductor.scm (r-baynorm): New variable.

Change-Id: I83e82d3d0362874918f423ab01f038c74f3eb265
---
 gnu/packages/bioconductor.scm | 38 +++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 11ed82bc58..a8fa9d7af4 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -22512,6 +22512,44 @@ (define-public r-bayesspace
 features such as gene expression or cell type composition can be imputed.")
     (license license:expat)))
 
+(define-public r-baynorm
+  (package
+    (name "r-baynorm")
+    (version "1.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (bioconductor-uri "bayNorm" version))
+       (sha256
+        (base32 "01lv4w1x43x3f9sdrqikhsr1gdvkgqzrgcd9wnjj76qsljn57ifq"))))
+    (properties `((upstream-name . "bayNorm")))
+    (build-system r-build-system)
+    (propagated-inputs
+     (list r-bb
+           r-biocparallel
+           r-dosnow
+           r-fitdistrplus
+           r-foreach
+           r-iterators
+           r-locfit
+           r-mass
+           r-matrix
+           r-rcpp
+           r-rcpparmadillo
+           r-rcppprogress
+           r-singlecellexperiment
+           r-summarizedexperiment))
+    (native-inputs (list r-knitr))
+    (home-page "https://github.com/WT215/bayNorm")
+    (synopsis "Single-cell RNA sequencing data normalization")
+    (description
+     "The bayNorm package is used for normalizing single-cell RNA-seq data.  The
+main function is bayNorm, which is a wrapper function for gene specific prior
+parameter estimation and normalization.  The input is a matrix of scRNA-seq data
+with rows different genes and coloums different cells.  The output is either
+point estimates from posterior (2D array) or samples from posterior (3D array).")
+    (license license:gpl2+)))
+
 (define-public r-biocthis
   (package
     (name "r-biocthis")
-- 
2.41.0