coalesceR: A pedagogical tool to teach the basics of coalescent theory

Coalescent theory provides a powerful modeling tool for population genetics. It is based on a genealogical interpretation of the history of gene lineages in populations. Although classical population genetics theory considers the evolution of gene lineages forward in time, coalescent theory considers the genealogical history of a sample of genes, looking backward in time. In the absence of selection (i.e., if all genetic variants are selectively neutral), then the mutation process can be decoupled from the genealogical process. Therefore, selectively neutral mutations can then be superimposed on the genealogical history. This package is intended to provide a pedagogical tool to teach the basics of coalescent theory. It enables to simulate gene genealogies in an isolated population of constant effective size, or in a population that changed in size some generations in the past. Gene genealogies can be constructed using a continuous time approximation, or a generation-by-generation algorithm.Graphical outputs show the consequence of population size changes on the shape of genealogies. Mutations can then be added on the gene genealogies, and summary statistics (e.g., heterozygosity, number of alleles) can be computed from gene histories.

Getting started

Package details

AuthorRenaud Vitalis <vitalis@supagro.inra.fr>.
MaintainerRenaud Vitalis <vitalis@supagro.inra.fr>
LicenseGPL (>= 2)
Version0.2
Package repositoryView on R-Forge
Installation Install the latest version of this package by entering the following in R:
install.packages("coalesceR", repos="http://R-Forge.R-project.org")

Try the coalesceR package in your browser

Any scripts or data that you put into this service are public.

coalesceR documentation built on May 2, 2019, 4:42 p.m.