View source: R/sim_fin_chrom.R View source: R/RcppExports.R
sim_fin_chrom | R Documentation |
Individual based simulation of the accumulation of junctions for a chromosome with regularly distributed markers.
sim_fin_chrom(
pop_size = 100,
freq_ancestor_1 = 0.5,
total_runtime = 100,
morgan = 1,
seed = 42,
R = 100
)
pop_size |
Population Size |
freq_ancestor_1 |
Frequency of ancestor 1 at t = 0 |
total_runtime |
Maximum time after which the simulation is to be stopped |
morgan |
Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome) |
seed |
Seed of the pseudo-random number generator |
R |
Number of regularly distributed markers |
avgJunctions |
vector of the average number of junctions at time = [0, total_runtime] |
cat("example sim_fin_chrom")
sim_fin_chrom(pop_size = 100, freq_ancestor_1 = 0.5,
total_runtime = 10, morgan = 1, seed = 42,
R = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.