sexratio: Hypothetical analysis of frequency dependent selection on a...

Description Usage Arguments Value Author(s) See Also Examples

Description

This function performs numerical analysis of a frequency dependent selection model of a hypothetical diploid sexually reproducing population in which sex is determined by the genotype at a biallelic genetic locus. Genotype AA are male, genotype aa are female, and genotype Aa might be male or female with equal probability.

Usage

1
	sexratio(p0=0.01,time=100,show="p",pause=0)

Arguments

p0

Starting frequency for the A allele. Individuals with AA genotypes are male, while individuals with Aa genotypes are male or female with equal probability.

time

Number of generations to run the analysis.

show

Two different options for plotting. "p" shows the frequency of A through time; "fitness" plots the mean fitness through time. The default is show="p".

pause

Pause between generations. pause=0.01 (for instance) might smooth animation.

Value

The function creates one of two possible plots, depending on the value of show. Numerical analysis of this model shows how frequency dependent selection should favor alleles that tend to produce the rarer sex in the population.

Author(s)

Liam Revell liam.revell@umb.edu

See Also

sexratio

Examples

1
	sexratio(time=100)

KlausVigo/popgenSim documentation built on May 8, 2019, 5:38 p.m.