Description Usage Arguments Value Author(s) See Also Examples
This function simulates genetic drift at a biallelic genetic locus with no selection and no mutation in a sexually reproducing diploid population or set of populations.
1 | genetic.drift(p0=0.5,Ne=20,nrep=10,time=100,show="p",pause=0.1)
|
p0 |
Starting frequency for the A allele. |
Ne |
Effective population size. |
nrep |
Number of replicate simulations. |
time |
Total time, in number of generations, for the simulation. |
show |
Various options for plotting. |
pause |
Pause between generations. |
The function creates one of several possible plots, depending on the value of show
.
Liam Revell liam.revell@umb.edu
1 2 | genetic.drift()
genetic.drift(p0=0.7,show="heterozygosity")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.