View source: R/HapmapToNumeric.R
hapmaptonumeric_matrix | R Documentation |
This function applyes the hapmaptonumeric function on a dataframe of SNP in hapmap format to recode as numeric: 0, 1, 2. The marker data requires that the SNPs are in columns and the individual are in rows.
hapmaptonumeric_matrix(X = NULL, snp.start.col = 2)
X |
SNP matrix in hapmapformat with single nucleotides |
snp.start.col |
An index number where the SNP dat starts in X |
A dataframe of SNPs in numeric format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.