dlevene.bi | R Documentation |
Program dlevene.bi
calculates Levene's density (P(AB|A)) for a
bi-allelic variant.
dlevene.bi(x)
x |
a vector of genotype counts (AA,AB,BB) |
a single real number
Jan Graffelman (jan.graffelman@upc.edu)
Levene, H. (1949) On a matching problem arising in genetics. Annals of Mathematical Statistics, 20, pp. 91-94.
dlevene
, HWExact
x <- c(AA=298,AB=489,BB=213)
prob <- dlevene.bi(x)
print(prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.