Description Usage Arguments Details Author(s)
Calculates the probability that a variant type is chosen to be copied.
1 | generate_transmissionProb<-function(nType, pop, b, mutationRate)
|
nType |
number of variant types present in the population at t1 |
pop |
relative frequencies of the variant types in the population |
b |
strength of frequency-dependent selection |
mutationRate |
mutation rate per transmission event |
This function determines the probability that a variant type is chosen to be copied under the assumption of frequency-dependent selection. The strength of selection is controlled by the parameter b whith b=0 indicating unbiased transmission.
Clementine Straub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.