nucleotideDivergence: Nucleotide Divergence

Description Usage Arguments Value Author(s) References Examples

View source: R/nucleotideDivergence.R

Description

Calculate Nei's dA between strata, and distributions of between- and within-strata nucleotide divergence (sequence distance).

Usage

1
nucleotideDivergence(g, probs = c(0, 0.025, 0.5, 0.975, 1), model = "raw", ...)

Arguments

g

a gtypes object.

probs

a numeric vector of probabilities of the pairwise distance distributions with values in 0:1.

model

evolutionary model to be used. see dist.dna for options.

...

other arguments passed to dist.dna.

Value

a list with summaries of the within and between strata pairwise distances including Nei's dA (in between).

Author(s)

Eric Archer eric.archer@noaa.gov

References

Nei, M., and S. Kumar (2000) Molecular Evolution and Phylogenetics. Oxford University Press, Oxford. (dA: pp. 256, eqn 12.67)

Examples

1
2
3
4
5

strataG documentation built on Feb. 28, 2020, 9:07 a.m.