GNU bug report logs - #76782
[PATCH] gnu: Add r-bayesprism.

Previous Next

Package: guix-patches;

Reported by: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>

Date: Thu, 6 Mar 2025 15:19:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 76782 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76782; Package guix-patches. (Thu, 06 Mar 2025 15:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Navid Afkhami <navid.afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 06 Mar 2025 15:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-bayesprism.
Date: Thu, 6 Mar 2025 15:17:18 +0000
* gnu/packages/bioinformatics.scm (r-bayesprism): New variable.

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f7f39f525d..391fb8e3a9 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -24342,6 +24342,52 @@ (define-public r-battenberg
 @url{doi:10.1016/j.cell.2012.04.023,Nik-Zainal et al.}")
    (license license:gpl3)))
 
+(define-public r-bayesprism
+  ;; The version string in the DESCRIPTION file was changed to 2.2.2 in this commit
+  (let ((commit "5d43190d5fdfc900571ae1b05b9dcad9ee6b8b2b")
+        (revision "2"))
+    (package
+      (name "r-bayesprism")
+      (version "2.2.2")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Danko-Lab/BayesPrism")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0rlq6nv1adc9w1ync8834kv59ksixxzbpf3xlbxi5s8x54gv4q9y"))))
+      (properties `((upstream-name . "BayesPrism")))
+      (build-system r-build-system)
+      (arguments
+       (list
+        #:phases '(modify-phases %standard-phases
+                    (add-after 'unpack 'enter-dir
+                      (lambda _
+                        (chdir "BayesPrism"))))))
+      (propagated-inputs (list r-biocparallel
+                               r-gplots
+                               r-matrix
+                               r-nmf
+                               r-scran
+                               r-snowfall
+                               r-r-utils))
+      (native-inputs (list r-knitr))
+      (home-page "https://github.com/Danko-Lab/BayesPrism")
+      (synopsis "Bayesian cell type and gene expression deconvolution")
+      (description
+       "BayesPrism includes deconvolution and embedding learning modules.
+The deconvolution module models a prior from cell type-specific expression
+profiles from scRNA-seq to jointly estimate the posterior distribution of
+cell type composition and cell type-specific gene expression from bulk
+RNA-seq expression of tumor samples.  The embedding learning module uses
+Expectation-maximization (EM) to approximate the tumor expression using a
+linear combination of malignant gene programs while conditional on the
+inferred expression and fraction of non-malignant cells estimated by the
+deconvolution module.")
+      (license license:gpl3))))
+
 (define-public r-catch
   (let ((commit "196ddd5a51b1a5f5daa01de53fdaad9b7505e084")
         (revision "1"))

base-commit: 19c656e3cad3a4f1e3338a955a1af57e363545df
-- 
2.43.0





This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.