recodeGT: Recode the genotype with the allele

Description Usage Arguments Value Examples

View source: R/recodeGT.R

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 Sept. 9, 2017, 12:24 a.m.