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

View source: R/splatPop-simulate.R

splatPopParseVCFR Documentation

Format and subset genotype data from a VCF file.

Description

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

Usage

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


Oshlack/splatter documentation built on April 27, 2024, 8:20 p.m.