powered by
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 )
vector of the average number of junctions at time = [0, total_runtime]
Population Size
Frequency of ancestor 1 at t = 0
Maximum time after which the simulation is to be stopped
Mean number of crossovers per meiosis (e.g. size in Morgan of the chromosome)
Seed of the pseudo-random number generator
Number of regularly distributed markers
sim_fin_chrom(pop_size = 100, freq_ancestor_1 = 0.5, total_runtime = 10, morgan = 1, seed = 42, R = 100)
Run the code above in your browser using DataLab