dsVcf2dose: Convert DS to dosage

dsVcf2doseR Documentation

Convert DS to dosage

Description

Non-bi-allelic variants are discarded. From Martin Morgan (see http://grokbase.com/t/r/bioconductor/135b460s2b/bioc-how-to-convert-genotype-snp-matrix-to-nucleotide-genotypes).

Usage

dsVcf2dose(vcf)

Arguments

vcf

CollapsedVCF (see pkg VariantAnnotation)

Value

matrix (in numeric mode) with variants in rows and samples in columns

Author(s)

Timothee Flutre

See Also

vcf2dosage, gtVcf2dose


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.