readVCF: Read a vcf file, with options to filter out low or high frequency markers.
Description
Read a vcf file, with options to filter out low or high frequency markers.
Usage
readVCF(filename = "haplosims/1.vcf", thin = 1, maxNumberOfVariants = 400,
min_maf = 0.02, max_maf = NA)
Arguments
maxNumberOfVariants
Maximum number of variants to keep from region
min_maf
Minimum allele frequency of markers to keep
max_maf
Maximum allele frequency of markers to keep
Examples
Run this code# NOT RUN {
# }
# NOT RUN {
library(sim1000G)
# }
Run the code above in your browser using DataLab