make_ref_table: Create a reference table for the conversion of A/C/T/G...

Description Usage Arguments Value Examples

Description

Create a reference table for the conversion of A/C/T/G genotype vectors (for a single locus) to 0,1,2 allele count genotypes.

Usage

1
make_ref_table(gv_actg)

Arguments

gv_actg

A genotype vector (coded as A/C/T/G) for a single SNP locus.

Value

a reference table with 1) inputted vector, 2) labeled alleles and 3) numeric count genotypes (0,1,2)

Examples

1
make_ref_table(c("TT", "CT", "CC", "TC"))

fboehm/countalleles documentation built on May 16, 2019, 11:09 a.m.