decode.genotypes | R Documentation |
Vectors ma, maa and oset (offset) are returned.
decode.genotypes(genotype)
genotype |
The vector |
oset |
The offset values that would be appropriate, in the multiplicative version of the model, if there was just this one locus. |
ma |
A contrast for the Hardy-Weinberg model, at this locus. |
maa |
A contrast that measures departure from the Hardy-Weinberg model, at this locus. |
types |
A vector of length three whose elements are the two-letter codes used for the three genotypes. |
Called by make.contrasts
J.H. Maindonald
hwde
decode.genotypes(rep(c("AA","Aa","aa"),2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.