Subject: [PATCH] gnu: Add r-phytools.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Wed, 22 Jan 2025 09:09:14 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/cran.scm (r-phytools): New variable.

Change-Id: Ie4fa9f40febf3b114a3da38b9cdf668e8ac415ca
---
 gnu/packages/cran.scm | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 936f3cf593..7f822be32a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -38153,6 +38153,51 @@ (define-public r-phylogram
 across a wide array of bioinformatic R packages.")
     (license license:gpl3)))
 
+(define-public r-phytools
+  (package
+    (name "r-phytools")
+    (version "2.4-4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "phytools" version))
+       (sha256
+        (base32 "1i25dlikdx9av5653ra2709sjm9fc3fsis1yfsb7zagivi408ph9"))))
+    (properties `((upstream-name . "phytools")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-ape
+                             r-clustergeneration
+                             r-coda
+                             r-combinat
+                             r-deoptim
+                             r-doparallel
+                             r-expm
+                             r-foreach
+                             r-maps
+                             r-mass
+                             r-mnormt
+                             r-nlme
+                             r-numderiv
+                             r-optimparallel
+                             r-phangorn
+                             r-scatterplot3d))
+    (home-page "https://github.com/liamrevell/phytools")
+    (synopsis "Phylogenetic tools for comparative biology")
+    (description
+     "This package offers extensive tools for phylogenetic analysis.
+It focuses on phylogenetic comparative biology but also includes methods for
+visualizing, analyzing, manipulating, reading, writing, and inferring phylogenetic
+trees.  Functions for comparative biology include ancestral state reconstruction,
+model fitting, and phylogeny and trait data simulation.  A broad range of plotting
+methods includes mapping trait evolution on trees, projecting trees into phenotype
+space or geographic maps, and visualizing correlated speciation between trees.
+Additional functions allow for reading, writing, analyzing, inferring, simulating,
+and manipulating phylogenetic trees and comparative data.  Examples include computing
+consensus trees, simulating trees and data under various models, and attaching species
+or clades to a tree either randomly or non-randomly.  This package provides numerous tools
+for tree manipulations and analyses that are valuable for phylogenetic research.")
+    (license license:gpl2+)))
+
 (define-public r-kmer
   (package
     (name "r-kmer")

base-commit: 309ad9fcdacf732691f0220c4122757d9940b97d
-- 
2.43.0