haptodoubl | R Documentation |
Function to convert HAPMAP format to double alleles with no separation, i.e, from A to AA, C to CC, R to AG, Y to CT, etc. Markers should be in columns and GIDs in rows.
haptodoubl(df = NULL, snp.col = NULL, is.gid.in.col = FALSE, snp.names = NULL)
df |
Is a data frame that contains SNP data in IUPAC format |
snp.col |
Is the index where the SNP data starts in the data frame. Set to NULL if the SNPs are in rows |
is.gid.in.col |
Is a Logical to indicate if the individuals are in columns (TRUE) or in rows (FALSE). Default value is FALSE |
snp.names |
Not used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.