Skip to content

moshejasper/gaia

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The gaia package performs generalized parsimony analysis on the local gene trees comprising an ancestral recombination graph (ARG) to infer the geographic locations of genetic ancestors. It relies on the succinct tree sequence format.

Installation

Install from within an R session:

remotes::install_github("blueraleigh/gaia")

Install from the command line:

git clone https://github.com/blueraleigh/gaia
cd gaia
R CMD BUILD .
R CMD INSTALL <name of tarball>

Key functions

  • treeseq_discrete_mpr: Discrete state space reconstruction using arbitrary costs
  • treeseq_quadratic_mpr: Continuous state space reconstruction using squared distances
  • treeseq_linear_mpr: Continuous state space reconstruction using absolute distances
  • treeseq_discrete_mpr_edge_history: Detailed migration histories
  • treeseq_discrete_mpr_ancestry: Ancestry coefficients through time
  • treeseq_discrete_mpr_ancestry_flux: Migration flux between regions

Documentation

Documentation is a work in progress and is available through the R help system (e.g., ?treeseq_discrete_mpr).

About

Parsimony on tree sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 78.9%
  • C++ 14.4%
  • R 6.7%