powered by
Calculate Nei's dA between strata, and distributions of between- and within-strata nucleotide divergence (sequence distance).
nucleotideDivergence(g, probs = c(0, 0.025, 0.5, 0.975, 1), model = "raw", ...)
a '>gtypes object.
a numeric vector of probabilities of the pairwise distance distributions with values in 0:1.
0:1
evolutionary model to be used. see dist.dna for options.
dist.dna
other arguments passed to dist.dna.
a list with summaries of the within and between strata pairwise distances including Nei's dA (in between).
within
between
Nei, M., and S. Kumar (2000) Molecular Evolution and Phylogenetics. Oxford University Press, Oxford. (dA: pp. 256, eqn 12.67)
# NOT RUN { data(dloop.g) nd <- nucleotideDivergence(dloop.g) nd$within nd$between # }
Run the code above in your browser using DataLab