powered by
Calculates Tajima's K index of divergence.
tajima.K(DNAbin, prop = TRUE)
A vector of length 1. If prop = FALSE, the mean number of substitutions between any two sequences is returned. If prop = TRUE
prop = FALSE
prop = TRUE
(the default), this number is returned as the mean number of substitutions per nucleotide (i.e. the above divided by the length of the sequences).
An object of class `DNAbin'.
Logical. Should the function report the number of substitutions per nucleotide? Default of TRUE.
Samuel Brown <s_d_j_brown@hotmail.com>
Tajima, F. (1983). Evolutionary relationship of DNA sequences in finite populations. _Genetics_ *105*, 437-460.
dist.dna.
dist.dna
data(anoteropsis) tajima.K(anoteropsis) tajima.K(anoteropsis, prop = FALSE)
Run the code above in your browser using DataLab