snpMatrixToNumeric | R Documentation |
Recodes a biallelic SNP matrix in hapmap format to numeric format, e.g., 0, 1, 2. The function applies the snptonumeric function over the columns of the SNP matrix.
snpMatrixToNumeric(X = NULL)
X |
A SNP matrix containing in its row names the id of the individuals and columns as SNPs. |
A numeric SNP matrix.
snptonumeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.