Skip to content

dsilvestro/fossilBM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FossilBM - Bayesian inference of trait evolution under a “fossilized” Brownian motion (FBM)

FossilBM uses phylogenies of extant and extinct species (typically obtained through tip-dating) and quantitative traits to infer the mode of evolution and ancestral states at all nodes in the tree. The FBM model includes rate parameters describing how fast a trait evolves and trend parameters determining whether evolution is directional. When the trend parameter equals 0, the model reduces to a standard Brownian model of neutral evolution. Both the rate and trend parameters can very across the branches in the tree.

The algorithm simultaneously estimates:

  1. the rates of phenotypic evolution and their variation across clades
  2. the trends of phenotypic evolution and their variation across clades
  3. the ancestral states at all internal nodes

An example of a fossilBM setup and analysis is available in the file run_FBM.R.

The methods implemented here are described in Silvestro et al. 2018 Systematic Biology. The BM model with time-varying trend is described in Zhang et al. 2022 Systematic Biology.
The BM model with constrained trend paramenbters is described in Farina et al. 2023 Proc Roy Soc B.

NOTE

The following libraries are required to run FossilBM (fossilBM_lib.R): scales, phytools, geiger, adephylo, plotrix. Older versions of fossilBM model are available here.