report_genotypes | R Documentation |
Report the genotypes present in a processed dataset in a concise data frame. This will arrange the allele names into a wide-format table with unique samples on rows and loci on columns, do some automatic cleanup on the columns, and show closest-matching individuals per entry, if given. All NA entries are replaced with blank strings or optionally (for NA Replicates or untested sample/locus combinations) other custom placeholder text.
report_genotypes(
results,
closest = NULL,
na_replicates = cfg("report_na_replicates"),
na_alleles = cfg("report_na_alleles")
)
results |
list of results data as produced by |
closest |
list of closest matches as produced by
|
na_replicates |
text to replace NA entries with for the Replicates column. |
na_alleles |
text to replace NA entries with for the allele names |
data frame showing summary of genotypes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.