aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPeter Lo <peterloleungyau@gmail.com>2020-09-11 21:01:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-09-11 21:01:30 +0200
commit655c4bb25cfb1fa02ad1378e9d0dc2cfb2b3a03c (patch)
tree747000d56d4fcb6de1d884bfcfb6366257fe6896 /gnu
parent962c7ceff5c6497e23d26f44bd08147e4cb9646b (diff)
downloadguix-655c4bb25cfb1fa02ad1378e9d0dc2cfb2b3a03c.tar
guix-655c4bb25cfb1fa02ad1378e9d0dc2cfb2b3a03c.tar.gz
gnu: Add r-interval.
* gnu/packages/bioconductor.scm (r-interval): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioconductor.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 5fb360995c..9f770b3d9a 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+)))