castor: Efficient Phylogenetics on Large Trees

Efficient phylogenetic analyses on massive phylogenies comprising up to millions of tips. Functions include pruning, rerooting, calculation of most-recent common ancestors, calculating distances from the tree root and calculating pairwise distances. Calculation of phylogenetic signal and mean trait depth (trait conservatism), ancestral state reconstruction and hidden character prediction of discrete characters, simulating and fitting models of trait evolution, fitting and simulating diversification models, dating trees, comparing trees, and reading/writing trees in Newick format. Citation: Louca, Stilianos and Doebeli, Michael (2017) <doi:10.1093/bioinformatics/btx701>.

Version: 1.8.2
Depends: Rcpp (≥ 0.12.10)
Imports: parallel, naturalsort, stats, Matrix, RSpectra, jsonlite, methods
LinkingTo: Rcpp
Suggests: nloptr, ape
Published: 2024-06-29
DOI: 10.32614/CRAN.package.castor
Author: Stilianos Louca
Maintainer: Stilianos Louca <louca.research at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Citation: castor citation info
In views: Phylogenetics
CRAN checks: castor results


Reference manual: castor.pdf


Package source: castor_1.8.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): castor_1.8.2.tgz, r-oldrel (arm64): castor_1.8.2.tgz, r-release (x86_64): castor_1.8.2.tgz, r-oldrel (x86_64): castor_1.8.2.tgz
Old sources: castor archive

Reverse dependencies:

Reverse imports: DAISIEprep, dispRity, LDM, nichevol
Reverse suggests: treestats


Please use the canonical form to link to this page.