tabulate_allele_names | R Documentation |
Allele pairs are shown in a standardized order with homozygous entries shown twice. NA allele names in the input are converted to empty strings while NA is given for missing sample/locus combinations.
tabulate_allele_names(data, extra_cols = NULL)
data |
data frame containing Allele1Name and Allele2Name columns such as
the first list item produced by |
extra_cols |
names or index values of additional columns from input data frame to be kept in output data frame. These should be consistent across loci for a given entry. |
wide format data frame with sample entries on rows and loci on
columns. An ID column will label sample entries by whichever columns were
provided in the input (see make_entry_id
). Empty strings are
given for NA allele names, while NA is given for any implicitly missing
locus/sample combinations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.