Description Usage Arguments Value Examples
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.
1 |
n |
Number of distances to generate |
vector of distances between two recombination events.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.