Learn R Programming

sim1000G (version 1.3)

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

filename

Input VCF file

thin

How much to thin markers

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

Value

none

Examples

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

Run the code above in your browser using DataLab