Subject: [bug#73230] [PATCH] gnu: Add r-scdesign2.

From: "Afkhami, Navid" <[email-masked]>
Date: Fri, 13 Sep 2024 14:09:32 +0000

* gnu/packages/bioinformatics.scm (r-scdesign2): New variable.

Change-Id: I25599df1cb8493bc2d9cc1839b5232aee03bf848
---
 gnu/packages/bioinformatics.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 4653360792..8b722f7bf2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1184,6 +1184,33 @@ (define-public r-rhtslib12
 developers of other R packages who wish to make use of HTSlib.")
       (license license:lgpl2.0+))))
 
+(define-public r-scdesign2
+  (let ((commit "554f2c4b1a7ee6cc04969a287df9b3b77d7bb2fe")
+        (revision "1"))
+    (package
+      (name "r-scdesign2")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/JSB-UCLA/scDesign2")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09zkz6qdcx54092ab6761ja3pclax9xzana8dk8qvxrdbjshb8p7"))))
+      (properties `((upstream-name . "scDesign2")))
+      (build-system r-build-system)
+      (propagated-inputs (list r-mass r-pscl))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/JSB-UCLA/scDesign2")
+      (synopsis "Statistical simulator for scRNA-seq with gene correlation")
+      (description
+       "This package offers a flexible statistical simulator for scRNA-seq data.
+It can generate data that captures gene correlation.  Additionally, it allows
+for varying the number of cells and sequencing depth.")
+      (license license:expat))))
+
 (define-public r-scenic
   (let ((commit "cedf8490a634da550cea2c831544e5f7f14467d2")
         (revision "1"))

base-commit: 98bc13b9ea5f22a60de6c289d59072638001e08e
-- 
2.34.1