Learn R Programming

sim1000G (version 1.40)

generateChromosomeRecombinationPositions: Generates a recombination vector arising from one meiotic event. The origin of segments is coded as (0 - haplotype1 , 1 - haplotype2 )

Description

Generates a recombination vector arising from one meiotic event. The origin of segments is coded as (0 - haplotype1 , 1 - haplotype2 )

Usage

generateChromosomeRecombinationPositions(chromosomeLength = 500)

Arguments

chromosomeLength

The length of the region in cm.

Examples

Run this code
# NOT RUN {
library("sim1000G")

# generate a recombination events for chromosome 4
readGeneticMap(4)
generateChromosomeRecombinationPositions(500)

# }

Run the code above in your browser using DataLab