Description Usage Arguments Details Value Examples
Simulate drift across a number of populations and generations, for a single allele
1 2 |
f0 |
The allele frqeuency pre-bottleneck |
N0 |
The effective population size pre-bottleneck |
Nt |
The effective population size after 't' generations |
t |
The number of generations |
n |
The number of populations |
mig |
The migration rate |
surv |
The survival rate at the original population bottleneck |
litter |
The litter size at each generation |
pops |
Specify the method for generating f0 in surrounding populations.
Choosing |
sd |
The variability of allele frequencies in neighbouring populations around the central population. |
genoProbs |
A vector of length three indicating the selective advantage for each genotype.
Should be specified as relative probabilities and defaults to the vector |
Starting with the initial population size, which is equal across all populations,
all populations are subject to the same bottleneck with survival probability as given in the argument surv
.
Populations are grown exponentially until reaching Nt
, and despite the given litter-size,
only the appropriate number will be allowed to breed at each generation.
By default, all neighbouring populations will be given the same initial frequency as the central population.
These can be varied around this value on the logit scale using the parameter sd
.
Choosing values such as sd < 0.5
will give moderate variability around the starting frequency,
whilst values near one will clearly spread the allele frequencies more widely across the entire range.
Extreme values such as sd = 100
will give alleles which are effectively either fixed or absent in the neighbouring populations with equal probability.
A list with components ft
and nEff
.
These denote the final allele frequency, and the effective populations sizes at each generation respectively.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.