gtVcf2dose: Convert GT to dosage

gtVcf2doseR Documentation

Convert GT 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

gtVcf2dose(vcf)

Arguments

vcf

CollapsedVCF (see pkg VariantAnnotation)

Value

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

Author(s)

Timothee Flutre

See Also

vcf2dosage, gtVcf2genoClasses, dsVcf2dose


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