From 5412b14ba6020df267e096727af9b01393b2ee33 Mon Sep 17 00:00:00 2001 From: Antoine Côté Date: Mon, 29 Jun 2020 11:05:18 -0400 Subject: gnu: Add r-transphylo. * gnu/packages/cran.scm (r-transphylo): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 8b80916c94..5cf5b0e639 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2020 Rafael Luque Leiva ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020 Antoine Côté ;;; ;;; This file is part of GNU Guix. ;;; @@ -23368,3 +23369,30 @@ (define-public r-flexsurv also tools for fitting and predicting from fully parametric multi-state models.") (license license:gpl2+))) + +(define-public r-transphylo + (package + (name "r-transphylo") + (version "1.4.4") + (source + (origin + (method url-fetch) + (uri (cran-uri "TransPhylo" version)) + (sha256 + (base32 + "1506c97y8dnhd0c38rgvmg70q0l3xmmn07mjglhnw7hi5n5y9mv9")))) + (properties `((upstream-name . "TransPhylo"))) + (build-system r-build-system) + (propagated-inputs + `(("r-ape" ,r-ape) + ("r-rcpp" ,r-rcpp))) + (native-inputs + `(("r-knitr" ,r-knitr))) + (home-page "https://cran.r-project.org/web/packages/TransPhylo/") + (synopsis "Inference of transmission tree from a dated phylogeny") + (description + "This is a package to infer transmission trees from a dated phylogeny. +It includes methods to simulate and analyze outbreaks. The methodology is +described in @url{https://doi.org/10.1093/molbev/msu121,Didelot et al. (2014)} +and @url{https://doi.org/10.1093/molbev/msw275,Didelot et al. (2017)}.") + (license license:gpl2+))) -- cgit v1.2.3