~ruther/guix-local

1dacc269567683cedc439545a8077e523a1ed94e — Ricardo Wurmus 8 years ago db0bb6f
gnu: Add r-fdrtool.

* gnu/packages/statistics.scm (r-fdrtool): New variable.
1 files changed, 28 insertions(+), 0 deletions(-)

M gnu/packages/statistics.scm
M gnu/packages/statistics.scm => gnu/packages/statistics.scm +28 -0
@@ 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+)))