Description Usage Arguments Value
recode_geno - converts an ACTG coded SNP to a A/B coded SNP
1 | recode_geno(SNPname, geno, table, Bdose = FALSE)
|
SNPname |
character of SNP name to recode |
geno |
matrix of genotyping data with individuals in rows and SNPs in columns. Formatted in ATCG "forward" format |
table |
data.frame consisting of an equivalency table needed for conversion |
Bdose |
boolean. If true, returns dosage of allele B. If false, returns A/B. |
numeric/character vector with recoded genotypes for all individuals for a single SNP in SNPname
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.