Description Usage Arguments Value Author(s)
A function that will return a data frame in allele per column format from a data frame in genotype per column format.
1 | genotypes2alleles(df, geno_cols = NULL, ncode)
|
df |
Data frame that contains genotypic data and metadata |
geno_cols |
Numeric column identifiers of loci, if NULL all columns will be assumed to contain genotypic data. |
ncode |
the number of characters for a genotype. For example, A "12" heterozygote has an ncode of 2. |
Data frame in Allele per column format
Zak Robinson, Contact: zachary.robinson(at)umontana.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.