# NOT RUN {
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)
generateUniformGeneticMap()
startSimulation(vcf, totalNumberOfIndividuals = 200)
ped_line = newFamily3generations(12, 3, c(3,3,2) )
# }
Run the code above in your browser using DataLab