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 Dec. 10, 2024, 3:48 p.m.