From 1dacc269567683cedc439545a8077e523a1ed94e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 31 May 2017 17:12:08 +0200 Subject: gnu: Add r-fdrtool. * gnu/packages/statistics.scm (r-fdrtool): New variable. --- gnu/packages/statistics.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 625f9f4884..ae44bfb01f 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -5257,3 +5257,31 @@ algebraic manipulation on date-time and time-span objects. The 'lubridate' package has a consistent and memorable syntax that makes working with dates easy and fun.") (license license:gpl2))) + +(define-public r-fdrtool + (package + (name "r-fdrtool") + (version "1.2.15") + (source + (origin + (method url-fetch) + (uri (cran-uri "fdrtool" version)) + (sha256 + (base32 + "1h46frlk7d9f4qx0bg6p55nrm9wwwz2sv6d1nz7061wdfsm69yb5")))) + (build-system r-build-system) + (home-page "http://strimmerlab.org/software/fdrtool/") + (synopsis "Estimation of false discovery rates and higher criticism") + (description + "This package provides tools to estimate both tail area-based false +discovery rates (Fdr) as well as local false discovery rates (fdr) for a +variety of null models (p-values, z-scores, correlation coefficients, +t-scores). The proportion of null values and the parameters of the null +distribution are adaptively estimated from the data. In addition, the package +contains functions for non-parametric density estimation (Grenander +estimator), for monotone regression (isotonic regression and antitonic +regression with weights), for computing the greatest convex minorant (GCM) and +the least concave majorant (LCM), for the half-normal and correlation +distributions, and for computing empirical higher criticism (HC) scores and +the corresponding decision threshold.") + (license license:gpl3+))) -- cgit v1.2.3