getAllelePop: Determines the number of copies of each allele of a locus in...

Description Usage Arguments Value Examples

View source: R/getAllelePop.R

Description

Counts the number of each allele of a locus in each individual. If an individual or sample is not genotyped for a certain locus, the count will be marked as NA.

Usage

1
getAllelePop(dataIn, popInfo, ploidy = 2)

Arguments

tempRes

data.table summarizing the alleles present in all samples. This should be an output of recodeGT function.

Value

A data.table with contig info (#CHROM), SNP position (POS), Allele, sample ID, and the count of the allele of a particular SNP in an individual

Examples

1
# To follow

dinmatias/reconproGS documentation built on Sept. 9, 2017, 12:24 a.m.