Description Usage Arguments Value Author(s) Examples
Creates a population of individuals
1 2 3 4 | create_population(pop_size, number_of_founders,
total_runtime, morgan,
seed, progress_bar,
track_junctions)
|
pop_size |
Total number of diploid individuals |
number_of_founders |
Number of unique ancestors |
total_runtime |
Number of generations allowed for inbreeding |
morgan |
Length of the chromosome in Morgan (e.g. the number of crossovers during meiosis) |
seed |
Seed of the pseudo-random number generator |
progress_bar |
Displays a progress_bar if TRUE. Default value is TRUE |
track_junctions |
Track the average number of junctions over time if TRUE |
A population structure called "population", and a vector called "junctions" if track_junctions = TRUE
Thijs Janzen
1 2 3 4 5 6 7 | wildpop = create_population(pop_size = 100,
number_of_founders = 10,
total_runtime = 10,
morgan = 1,
seed = 42,
progress_bar = TRUE,
track_junctions = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.