powered by
Calculate Tajima's D for a set of sequences to test for selection.
tajimasD(x, CI = 0.95)
set of DNA sequences or a haploid '>gtypes object with sequences.
desired central confidence interval.
A named vector with the estimate for D and the p.value that it is different from 0.
D
p.value
Tajima, F. 1989. Statistical method for testing the neutral mutation hypothesis by DNA polymorphism. Genetics 123:585-595.
# NOT RUN { data(dolph.seqs) tajimasD(dolph.seqs) # }
Run the code above in your browser using DataLab