Description Usage Arguments Value Examples
Convert A/C/T/G genotype vectors (for a single locus) to 0,1,2 allele count genotypes.
1 | count_alleles(gv_actg)
|
gv_actg |
A genotype vector (coded as A/C/T/G) for a single SNP locus. |
a genotype vector with entries 0,1, or 2 for each subject
1 | count_alleles(c("TT", "CT", "CC", "TC"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.