Description Usage Arguments Details Value Examples
Simulate a sample of genes.
1 | sim.inference.model(number.of.sampled.demes,sample.sizes,M,pi)
|
number.of.sampled.demes |
number of demes sampled |
sample.sizes |
number of genes sampled in each deme |
M |
twice the product of effective size of each deme and migration rate |
pi |
vector of allele A frequencies at each locus from the migrant pool |
Simulate a sample of genes, using a diffusion approximation for the probability of gene counts within each deme.
a ‘sample’ object
1 2 3 4 | ## This is to simulate a sample of genes.
sample <- sim.inference.model(number.of.sampled.demes = 10,sample.sizes = 50,M = 2,pi = runif(2))
sample
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.