guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

306/318: gnu: Add r-ashr.


From: guix-commits
Subject: 306/318: gnu: Add r-ashr.
Date: Fri, 20 Nov 2020 08:41:19 -0500 (EST)

rekado pushed a commit to branch wip-r
in repository guix.

commit 37023918799d939446225def5a6dc899020151a4
Author: Roel Janssen <roel@gnu.org>
AuthorDate: Wed Nov 18 16:41:54 2020 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 41a06da..9b7bb80 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -614,6 +614,34 @@ interrupts and timeouts.  This provides the basis for a 
sandboxing
 mechanism.")
     (license license:expat)))
 
+(define-public r-ashr
+  (package
+   (name "r-ashr")
+   (version "2.2-47")
+   (source (origin
+            (method url-fetch)
+            (uri (cran-uri "ashr" version))
+            (sha256
+             (base32
+              "1rqb5j30ylaf1h4l66x4jxyn5inrvhc42d90qd5mgkxsq0ghdlr4"))))
+   (properties `((upstream-name . "ashr")))
+   (build-system r-build-system)
+   (propagated-inputs
+    `(("r-etrunct" ,r-etrunct)
+      ("r-invgamma" ,r-invgamma)
+      ("r-matrix" ,r-matrix)
+      ("r-mixsqp" ,r-mixsqp)
+      ("r-rcpp" ,r-rcpp)
+      ("r-squarem" ,r-squarem)
+      ("r-truncnorm" ,r-truncnorm)))
+   (native-inputs
+    `(("r-knitr" ,r-knitr)))
+   (home-page "https://github.com/stephens999/ashr";)
+   (synopsis "Methods for adaptive shrinkage, using empirical bayes")
+   (description "This package implements an empirical Bayes approach for
+large-scale hypothesis testing and false discovery rate estimation.")
+   (license license:gpl3+)))
+
 (define-public r-askpass
   (package
     (name "r-askpass")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]