From afb697c1146ffb2d0adb2125bc1007a624216d8c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 7 Sep 2021 12:48:29 +0200 Subject: gnu: Add r-precrec. * gnu/packages/cran.scm (r-precrec): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/cran.scm') diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 455a42adc6..73e3b760e5 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -9442,6 +9442,34 @@ Additional functions include: highlight signals, a group of SNPs, chromosome visualization and candidate genes around SNPs.") (license license:gpl2+))) +(define-public r-precrec + (package + (name "r-precrec") + (version "0.12.7") + (source + (origin + (method url-fetch) + (uri (cran-uri "precrec" version)) + (sha256 + (base32 + "0vwzaqnh9ymrm52dd79bihwqprnygz0d71ay8fv51hdw0zg6saya")))) + (properties `((upstream-name . "precrec"))) + (build-system r-build-system) + (propagated-inputs + `(("r-assertthat" ,r-assertthat) + ("r-data-table" ,r-data-table) + ("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-rcpp" ,r-rcpp) + ("r-withr" ,r-withr))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://evalclass.github.io/precrec/") + (synopsis "Calculate accurate precision-recall and ROC curves") + (description + "This package provides tools for accurate calculations and visualization +of precision-recall and ROC (Receiver Operator Characteristics) curves.") + (license license:gpl3))) + (define-public r-abcoptim (package (name "r-abcoptim") -- cgit v1.2.3