summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRoel Janssen <roel@gnu.org>2020-11-18 16:41:54 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-09 12:12:21 +0100
commitc84762c446bb2c98aecc1d94009fcc3137d5fd04 (patch)
tree781de90e57b318fa83fed24e0916b5ac70dd6bb6 /gnu
parent755d16a3b0494fcddfa46e40bcf494abbd278509 (diff)
gnu: Add r-ashr.
* gnu/packages/cran.scm (r-ashr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 60fac20c03..25bb9d75ec 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -585,6 +585,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")