View source: R/functions_pool.R
run_scrm | R Documentation |
Simulates the evolution of biological sequences for a single population with variable theta values.
run_scrm(nDip, nloci, theta = 10)
nDip |
an integer representing the total number of diploid individuals
to simulate. Note that |
nloci |
is an integer that represents how many independent loci should be simulated. |
theta |
a value for the mutation rate assuming theta = 4Nu, where u is the neutral mutation rate per locus. |
a list with genotypes. Each entry of the list corresponds to a different locus. For each locus, the genotypes are in a matrix, with each row representing a different individual and each column a different site.
run_scrm(nDip = 100, nloci = 10)
run_scrm(nDip = 100, nloci = 10, theta = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.