[bug#42126] gnu: Add r-transphylo
diff mbox series

Message ID 20200629150517.28452-1-antoine.cote@posteo.net
State New
Headers show
Series
  • [bug#42126] gnu: Add r-transphylo
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Antoine Côté June 29, 2020, 3:05 p.m. UTC
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 70af2d30f0..749eee7856 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -21,6 +21,7 @@ 
 ;;; Copyright © 2020 Danjela Lura <danielaluraa@gmail.com>
 ;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
 ;;; Copyright © 2020 Eric Brown <ecbrown@ericcbrown.com>
+;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22372,3 +22373,27 @@  using @dfn{SHAP} (Shapley additive explanation) visualization plots for
 and force plot.  It relies on the @code{XGBoost} package to produce SHAP
 values.")
     (license license:expat)))
+
+(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
+    "Inference of transmission tree from a dated phylogeny.  Includes methods to simulate and analyse outbreaks.  The methodology is described in Didelot et al. (2014) <doi:10.1093/molbev/msu121>, Didelot et al. (2017) <doi:10.1093/molbev/msw275>.")
+  (license license:gpl2+)))