powered by
s
n
theta.s(s, n, variance = FALSE)
variance = TRUE
Tajima, F. (1989) Statistical method for testing the neutral mutation hypothesis by DNA polymorphism. Genetics, 123, 585--595.
theta.h
theta.k
seg.sites
nuc.div
data(woodmouse) y <- seg.sites(woodmouse) s <- length(y) n <- length(woodmouse) theta.s(s, n) theta.s(s, n, variance = TRUE)
Run the code above in your browser using DataLab