dist.dna | R Documentation |
Calculate pairwise distances among DNA sequences. The sites with missing characters are excluded.
dist.dna(sequences, nst = 0)
sequences |
DNA sequences |
nst |
substitution model. 0:no model, 1:JC |
If nst=0, the distance is equal to the proportion of sites with different nucleotides.
The function returns a distance matrix.
Liang Liu lliu@uga.edu
Jukes, TH and Cantor, CR. 1969. Evolution of protein molecules. Pp. 21-123 in H. N. Munro, ed. Mammalian protein metabolism. Academic Press, New York.
tree.upgma
data(dat.finch)
dist.dna(dat.finch$seq,nst=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.