splatPopParseVCF: Format and subset genotype data from a VCF file.

Description Usage Arguments Value

View source: R/splatPop-simulate.R

Description

Extract numeric alleles from vcf object and filter out SNPs missing genotype data or outside the Minor Allele Frequency range in 'SplatPopParams'.

Usage

1
splatPopParseVCF(vcf, params)

Arguments

vcf

VariantAnnotation object containing genotypes of samples.

params

SplatPopParams object containing parameters for population scale simulations. See SplatPopParams for details.

Value

Genotype data.frame


splatter documentation built on Dec. 3, 2020, 2:01 a.m.