mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 21:27:37 -05:00
gnu: Add r-fhtest.
* gnu/packages/bioconductor.scm (r-fhtest): New variable. Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
parent
655c4bb25c
commit
7e88ee9f02
1 changed files with 36 additions and 0 deletions
|
@ -8204,3 +8204,39 @@ (define-public r-interval
|
||||||
"This package provides functions to fit nonparametric survival curves,
|
"This package provides functions to fit nonparametric survival curves,
|
||||||
plot them, and perform logrank or Wilcoxon type tests.")
|
plot them, and perform logrank or Wilcoxon type tests.")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+)))
|
||||||
|
|
||||||
|
;; This is a CRAN package, but it depends on r-interval, which depends on a
|
||||||
|
;; Bioconductor package.
|
||||||
|
(define-public r-fhtest
|
||||||
|
(package
|
||||||
|
(name "r-fhtest")
|
||||||
|
(version "1.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (cran-uri "FHtest" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1wsn0j9ydpp9nfswiqg21p09kgkvaq8fh0y0h8syqgizah7i8vs2"))))
|
||||||
|
(properties `((upstream-name . "FHtest")))
|
||||||
|
(build-system r-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("r-interval" ,r-interval)
|
||||||
|
("r-kmsurv" ,r-kmsurv)
|
||||||
|
("r-mass" ,r-mass)
|
||||||
|
("r-perm" ,r-perm)
|
||||||
|
("r-survival" ,r-survival)))
|
||||||
|
(home-page "https://cran.r-project.org/web/packages/FHtest/")
|
||||||
|
(synopsis "Tests for survival data based on the Fleming-Harrington class")
|
||||||
|
(description
|
||||||
|
"This package provides functions to compare two or more survival curves
|
||||||
|
with:
|
||||||
|
|
||||||
|
@itemize
|
||||||
|
@item The Fleming-Harrington test for right-censored data based on
|
||||||
|
permutations and on counting processes.
|
||||||
|
@item An extension of the Fleming-Harrington test for interval-censored data
|
||||||
|
based on a permutation distribution and on a score vector distribution.
|
||||||
|
@end itemize
|
||||||
|
")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
Loading…
Reference in a new issue