Description Usage Arguments Examples
Genetates a recombination vector arising from one meiotic event. The origin of segments is coded as (0 - haplotype1 , 1 - haplotype2 )
1 |
cm |
The length of the region that we want to generate recombination distances. |
1 2 3 4 5 6 7 8 9 10 | library("sim1000G")
examples_dir = system.file("examples", package = "sim1000G")
vcf_file = file.path(examples_dir, "region.vcf.gz")
vcf = readVCF( vcf_file, maxNumberOfVariants = 100 ,
min_maf = 0.12 ,max_maf = NA)
# For realistic data use the function downloadGeneticMap
generateUniformGeneticMap()
generateSingleRecombinationVector( 1:100 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.