Subject: [PATCH 2/2] gnu: Add r-samr.

From: Tim Howes <[email-masked]>
Date: Sun, 14 Feb 2021 21:44:37 -0800

* gnu/packages/cran.scm (r-samr): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 86b2df0a9f..d151f1cb50 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -26872,3 +26872,34 @@ package online.")
     (description "Inference on gene sets in microarray studies.")
     ;; Any version of the LGPL
     (license license:lgpl3+)))
+
+(define-public r-samr
+  (package
+    (name "r-samr")
+    (version "3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "samr" version))
+        (sha256
+          (base32
+            "01km0f7qgm73x19vbvsxl083hs1dq4dj8qm5h64cxbf20b08my15"))))
+    (properties `((upstream-name . "samr")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-gsa" ,r-gsa)
+        ("r-impute" ,r-impute)
+        ("r-matrixstats" ,r-matrixstats)
+        ("r-openxlsx" ,r-openxlsx)
+        ("r-shiny" ,r-shiny)
+        ("r-shinyfiles" ,r-shinyfiles)))
+    (native-inputs `(("gfortran" ,gfortran)))
+    (home-page
+      "https://statweb.stanford.edu/~tibs/SAM/")
+    (synopsis
+      "Significance Analysis of Microarrays")
+    (description
+      "Significance Analysis of Microarrays for differential expression
+analysis, RNAseq data and related problems.")
+    ;; Any version of the LGPL
+    (license license:lgpl3+)))
-- 
2.30.1