setRecombinationModel: Set recombination model to either poisson (no interference)...

Description Usage Arguments Examples

Description

Set recombination model to either poisson (no interference) or chi-square.

Usage

1

Arguments

model

Either "poisson" or "chisq"

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
generateUniformGeneticMap()

do_plots = 0

setRecombinationModel("chisq")
if(do_plots == 1)
 hist(generateRecombinationDistances(100000),n=200)

setRecombinationModel("poisson")
if(do_plots == 1)
 hist(generateRecombinationDistances(100000),n=200)

sim1000G documentation built on June 10, 2019, 1:01 a.m.