Calculate Levene's density for a bi-allelic variant
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.
x <- c(AA=298,AB=489,BB=213) prob <- dlevene.bi(x) print(prob)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.