junctions-package | R Documentation |
The theory of junctions is extended by this package by including the effect of a finite number of recombination sites along the chromosome. The package provides functions to calculate the estimated number of junctions, depending on the time since the onset of hybridization, population size, number of recombination sites, initial heterozygosity and the number of crossovers per meiosis.
This package provides individual based simulations in order to simulate the accumulation of junctions over time, both for chromosomes with a finite and an infinite number of recombination sites. Furthermore, the package provides mathematical tools to verify the outcomes of the individual based simulations.
Update version 2.1.0 : updated tbb::task_scheduler_init to tbb::global_control
Update version 2.0.2 : simplified some tests
Update version 2.0 : merged many functions with similar functionality, added vignette that provides overview of all functionality.
Update version 1.9 : added c++ versions of the unphased and phased likelihoods.
Update version 1.8 : added multithreading using the TBB library.
Update version 1.7 : further improved the recombination function following Hanno Hildenbrandt's suggestions
Update version 1.6 : improved the recombination function to run twice as fast
Update version 1.5.1: added option to track the true number of junctions
Update version 1.5: added support for inferring the time since admixture based on phased and unphased data. Also included are simulation functions to simulate appropriate data (e.g. phased and unphased).
Update version 1.4: added support for estimating the number of junctions, and simulating the number of junctions, under a backcrossing scheme, using the code supplied in Lavretsky et al. 2019.
Update version 1.3: added support for estimating the time since admixture using unphased data.
Update version 1.3: added individual based simulations returning phased and unphased data.
Update version 1.3: Updated entire package to Roxygen.
Update version 1.2: added support for estimating the expected number of junctions for arbitrarily distributed markers.
Update version 1.1: updated underlying random number generator for picking recombination sites. The previous generator had limited precision, which could generate duplicate recombination sites. This update fixes that
Maintainer: Thijs Janzen <thijsjanzen@gmail.com>
Janzen, T. , Nolte, A. W. and Traulsen, A. (2018), The breakdown of genomic ancestry blocks in hybrid lineages given a finite number of recombination sites. Evolution, 72: 735-750. doi:10.1111/evo.13436
Lavretsky, P, Janzen, T. and McCracken, KG. (2019) Identifying hybrids & the genomics of hybridization: Mallards & American black ducks of Eastern North America. Ecology and Evolution 9: 3470-3490. doi:10.1002/ece3.4981
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.