powered by
Program dlevene.bi calculates Levene's density (P(AB|A)) for a bi-allelic variant.
dlevene.bi
dlevene.bi(x)
a single real number
a vector of genotype counts (AA,AB,BB)
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
dlevene
HWExact
x <- c(AA=298,AB=489,BB=213) prob <- dlevene.bi(x) print(prob)
Run the code above in your browser using DataLab