View source: R/genotypestoordinals.R
Definition: Utility that takes variables containing minor and heteropositions for genotypes and convert these to a single ordinal variable. The new variable will contain zero if none of the alleles are present, one for heterozygous and two for homozygous.
1 | genotypesToOrdinals(variables, data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.