dist.hamming
and dist.logDet
compute pairwise distances
for an object of class phyDat
. dist.ml
fits distances
for nucleotide and amino acid models.dist.hamming(x, ratio = TRUE, exclude="none")
dist.logDet(x)
dist.ml(x, model="JC69", exclude="none", bf=NULL, Q=NULL, ...)
phyDat
dist
dist.dna
data(Laurasiatherian)
dm1 <- dist.hamming(Laurasiatherian)
tree1 <- NJ(dm1)
dm2 <- dist.logDet(Laurasiatherian)
tree2 <- NJ(dm2)
treedist(tree1,tree2)
Run the code above in your browser using DataLab