recodeGT: Recode the genotype with the allele

Description Usage Arguments Value Examples

Description

Converts the genotype written by vcf using numbers to allele. This is internally called by other functions that are involved in getting allele counts. Moreover, this functions simplifies the data by removing other information of the vcf.

Usage

1
recodeGT(dataIn)

Arguments

dataIn

data.table obtained using vcfLoad function

Value

A data.table with contig info (#CHROM), SNP position (POS), sample ID and the alleles of the sample for that particular SNP

Examples

1
# To follow

dinmatias/reconproGS documentation built on May 19, 2019, 1:43 a.m.