Description Usage Arguments Details Author(s)
Generates the number of variants to be removed and to be added in each timestep.
1 | generate_removalReplacement <- function(popSize, timePoints, r, nSamples)
|
popSize |
vector containing the the population sizes for each time step between t1 and tnSamples |
timePoints |
vector specifying the time points tj, j=1,...,nSamples |
r |
fraction of the population to be removed in each time step |
nSamples |
number of observed samples |
This function calculates the number of variants to be removed from the population (determined by fraction r) and the number of variants to be added so that the desired popualtion size is reached in each time step.
Clementine Straub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.