Description Usage Arguments Value Author(s) See Also Examples
This function performs numerical analysis of mutation-selection balance with mutation from A to a and selection against (either or both of) Aa and aa.
1 |
p0 |
Starting frequency for the A allele. |
w |
Fitnesses of the heterozygote (Aa) and homozygote deleterious (aa) genotypes. The fitness of AA is assumed to be 1.0. |
u |
Rate at with A mutates to a. |
time |
Number of generations to run the analysis. |
show |
Two options for plotting. |
pause |
Pause between generations. |
ylim |
Limits on the y-axis for plotting. |
The function creates one of two possible plots, depending on the value of show
.
Liam Revell liam.revell@umb.edu
1 | mutation.selection(w=c(1,0),time=100,ylim=c(0,0.1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.