Subject: [bug#55128] [PATCH] gnu: Add r-affixcan.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 26 Apr 2022 17:24:55 +0200

* gnu/packages/bioconductor.scm (r-affixcan): New variable.
---
 gnu/packages/bioconductor.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index fa862d736f..925ebcdbdc 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -1616,6 +1616,31 @@ (define-public r-adam
 functionally associated genes} (GFAG).")
     (license license:gpl2+)))
 
+(define-public r-affixcan
+  (package
+    (name "r-affixcan")
+    (version "1.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (bioconductor-uri "AffiXcan" version))
+              (sha256
+               (base32
+                "06yn87briv2141jqad934gg5rcd90w5nghrgmbhqnmwafn72gj9d"))))
+    (properties `((upstream-name . "AffiXcan")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-biocparallel r-crayon r-multiassayexperiment
+                             r-summarizedexperiment))
+    (native-inputs (list r-knitr))
+    (home-page "https://bioconductor.org/packages/AffiXcan")
+    (synopsis "Functional approach to impute genetically regulated expression")
+    (description
+     "The @code{AffiXcan} package imputes a @dfn{Genetically regulated
+expression} (GReX) for a set of genes in a sample of individuals, using a method
+based on the @dfn{total binding affinity} (TBA).  Statistical models to impute
+GReX can be trained with a training dataset where the real total expression
+values are known.")
+    (license license:gpl3)))
+
 (define-public r-aneufinder
   (package
     (name "r-aneufinder")

base-commit: 30ff557bd7255dddec16f4a032e58f5a88d5e448
-- 
2.34.0