guix-commits
[Top][All Lists]
Advanced

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

03/13: gnu: Add r-precrec.


From: guix-commits
Subject: 03/13: gnu: Add r-precrec.
Date: Tue, 7 Sep 2021 08:11:48 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit afb697c1146ffb2d0adb2125bc1007a624216d8c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Sep 7 12:48:29 2021 +0200

    gnu: Add r-precrec.
    
    * gnu/packages/cran.scm (r-precrec): 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 455a42a..73e3b76 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")



reply via email to

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