[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: Add r-interval.
From: |
guix-commits |
Subject: |
04/05: gnu: Add r-interval. |
Date: |
Fri, 11 Sep 2020 15:34:32 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 655c4bb25cfb1fa02ad1378e9d0dc2cfb2b3a03c
Author: Peter Lo <peterloleungyau@gmail.com>
AuthorDate: Fri Sep 11 21:01:30 2020 +0200
gnu: Add r-interval.
* gnu/packages/bioconductor.scm (r-interval): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
gnu/packages/bioconductor.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 5fb3609..9f770b3 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -8177,3 +8177,30 @@ hypothesis @code{K=1}.")
@dfn{nonparametric maximum likelihood estimator} (NPMLE) for censored and
truncated data.")
(license license:artistic2.0)))
+
+;; This is a CRAN package but it depends on r-icens, which is published on
+;; Bioconductor.
+(define-public r-interval
+ (package
+ (name "r-interval")
+ (version "1.1-0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "interval" version))
+ (sha256
+ (base32
+ "1lln9jkli28i4wivwzqrsxvv2n15560f7msjy5gssrm45vxrxms8"))))
+ (properties `((upstream-name . "interval")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-icens" ,r-icens)
+ ("r-mlecens" ,r-mlecens)
+ ("r-perm" ,r-perm)
+ ("r-survival" ,r-survival)))
+ (home-page "https://cran.r-project.org/web/packages/interval/")
+ (synopsis "Weighted Logrank tests and NPMLE for interval censored data")
+ (description
+ "This package provides functions to fit nonparametric survival curves,
+plot them, and perform logrank or Wilcoxon type tests.")
+ (license license:gpl2+)))