generateRecombinationDistances: Generate inter-recombination distances using a chi-square...

Description Usage Arguments Value Examples

Description

Generate inter-recombination distances using a chi-square model. Note this are the distances between two succesive recombination events and not the absolute positions of the events. To generate the locations of the recombination events see the example below.

Usage

1

Arguments

n

Number of distances to generate

Value

vector of distances between two recombination events.

Examples

1
2
3
4
5
6
7
8
library("sim1000G")

distances = generateRecombinationDistances(20)


positions_of_recombination = cumsum(distances)

if(0) hist(generateRecombinationDistances(20000),n=100)

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