Learn R Programming

This repository contains source code, documentation, and R data for the project "learnPopGen: Population Genetic Simulations & Numerical Analysis."

Copy Link

Version

Install

install.packages('learnPopGen')

Monthly Downloads

442

Version

1.0.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 20th, 2019

Functions in learnPopGen (1.0.4)

msd

Migration, drift, and selection
hardy.weinberg

Computes Hardy-Weinberg frequencies for a multiallelic locus or across multiple loci
sexratio

Hypothetical analysis of frequency dependent selection on a sex determining genetic locus
phenotype.freq

Computes phenotypic distribution and its change through time due to natural selection on a polygenic trait
drift.selection

Simulation of genetic drift & natural selection at a biallelic locus
rcd

Simulation of reproductive character displacement in an ecological community
founder.event

Simulation of a founder event or population bottleneck
hawk.dove

Analysis of hawk-dove game theoretic model
clt

Illustrates the concept of the Central Limit Theorem
coalescent.plot

Creates a (usually animated) simulation of gene coalescence within a population
genetic.drift

Genetic drift simulation
freqdep

Numerical analysis of a frequency dependent seletion model
selection

Numerical analysis of biallelic locus frequency independent selection
mutation.selection

Gene frequencies over time under mutation-selection balance