Learn R Programming

bite (version 0.3)

Bayesian Integrative Models of Trait Evolution

Description

Contains the JIVE (joint inter and intra-specific model of variance evolution) model and other Bayesian models aimed at understanding trait evolution. The goal of the package is to join phylogenetic comparative models (PCM) that tend to integrate various type of data (individual observations, environmental data, fossil data) into a hierarchical Bayesian framework. It contains various PCMs as well as functions to join those models into a hierarchical Bayesian framework in a flexible and user friendly way. It contains various Markov chain Monte-Carlo (MCMC) algorithms, methods for model comparison and many plotting function for pre- and post-processing data visualization. Finally, this package integrates functions allowing bridges between 'R' and the 'BEAST2' implementations of PCMs. Kostikova A, Silvestro D, Pearman PB, Salamin N (2016) . Gaboriau T, Mendes FK, Joly S, Silvestro D, Salamin N (in prep).

Copy Link

Version

Install

install.packages('bite')

Monthly Downloads

26

Version

0.3

License

GPL-2

Maintainer

Theo Gaboriau

Last Published

April 22nd, 2020

Functions in bite (0.3)

mcmc_bite

MCMC algorithm
Anolis_tree

Anolis phylogenetic tree
format_jive_traits

sim_mte

Simulate MTE process
sim_jive

Simulate JIVE process
plot_pvo

Plots estimates of species traits distribution
hpfun

Hyper-prior function
plot_hp

plot Hyper-prior function
plot_jive

plot input data from a jive object
xml_bite

Write xml file with model
plot_mcmc_bite

Plot trace and density from a log file
plot_post_beast

Plot posterior probabilities from beast
Anolis_map

Anolis map of regimes
Anolis_traits

Anolis snout to vent length
plot_bf

Plots summary of Bayes Factors calculations
marginal_lik

Calculate marginal likelihood by thermodynamic integration (LTI)
control_jive

Control tuning parameters of the jive algorithm
make_jive

Create a list that can be used as an input to mcmc_bite