Description Usage Arguments Value Author(s) References See Also Examples
Calculates Tajima's K index of divergence.
1 |
DNAbin |
An object of class ‘DNAbin’. |
prop |
Logical. Should the function report the number of substitutions per nucleotide? Default of TRUE. |
A vector of length 1. If prop = FALSE
, the mean number of substitutions between any two sequences is returned. If 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).
Samuel Brown <s_d_j_brown@hotmail.com>
Tajima, F. (1983). Evolutionary relationship of DNA sequences in finite populations. _Genetics_ *105*, 437-460.
1 2 3 | data(anoteropsis)
tajima.K(anoteropsis)
tajima.K(anoteropsis, prop = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.