cladoRcpp

C++ Implementations of Phylogenetic Cladogenesis Calculations

Various cladogenesis-related calculations that are slow in pure R are implemented in C++ with Rcpp. These include the calculation of the probability of various scenarios for the inheritance of geographic range at the divergence events on a phylogenetic tree, and other calculations necessary for models which are not continuous-time markov chains (CTMC), but where change instead occurs instantaneously at speciation events. Typically these models must assess the probability of every possible combination of (ancestor state, left descendent state, right descendent state). This means that there are up to (# of states)^3 combinations to investigate, and in biogeographical models, there can easily be hundreds of states, so calculation time becomes an issue. C++ implementation plus clever tricks (many combinations can be eliminated a priori) can greatly speed the computation time over naive R implementations. CITATION INFO: This package is the result of my Ph.D. research, please cite the package if you use it! Type: citation(package="cladoRcpp") to get the citation information.

Total

30,886

Last month

2,947

Last week

331

Average per day

98

Daily downloads

Total downloads

Description file content

Package
cladoRcpp
Type
Package
Title
C++ Implementations of Phylogenetic Cladogenesis Calculations
Version
0.15.1
Date
2018-11-21
Author
Nicholas J. Matzke [aut, cre, cph]
Maintainer
Nicholas J. Matzke
Depends
LinkingTo
Rcpp, RcppArmadillo
Imports
Rcpp
Description
Various cladogenesis-related calculations that are slow in pure R are implemented in C++ with Rcpp. These include the calculation of the probability of various scenarios for the inheritance of geographic range at the divergence events on a phylogenetic tree, and other calculations necessary for models which are not continuous-time markov chains (CTMC), but where change instead occurs instantaneously at speciation events. Typically these models must assess the probability of every possible combination of (ancestor state, left descendent state, right descendent state). This means that there are up to (# of states)^3 combinations to investigate, and in biogeographical models, there can easily be hundreds of states, so calculation time becomes an issue. C++ implementation plus clever tricks (many combinations can be eliminated a priori) can greatly speed the computation time over naive R implementations. CITATION INFO: This package is the result of my Ph.D. research, please cite the package if you use it! Type: citation(package="cladoRcpp") to get the citation information.
URL
License
GPL (>= 2)
LazyLoad
yes
ByteCompile
true
RoxygenNote
6.1.0
NeedsCompilation
yes
Packaged
2018-11-20 23:11:08 UTC; nmat471
Repository
CRAN
Date/Publication
2018-11-21 05:30:02 UTC

install.packages('cladoRcpp')

0.15.1

25 days ago

http://phylo.wikidot.com/biogeobears

Nicholas J. Matzke

GPL (>= 2)

Imports

Rcpp

Discussions