snptonumeric | R Documentation |
Recodes a single snp in hapmap format (double nubleotide letters i.e: AA, CC, GG, etc) to numeric format. For biallelic SNPs, homozygous are 0 and 2, and heterozygotes are 1.
snptonumeric(snp = NULL)
snp |
A single SNP vector or dataframe in hapmap format, e.g., two letters for nucleotides without using characters for separation. |
Returns a SNP vector in numeric format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.