
Last chance! 50% off unlimited learning
Sale ends in
fastme.bal(X, nni = TRUE)
fastme.ols(X, nni = TRUE)
"dist"
."phylo"
.nj
, bionj
,
write.tree
, read.tree
,
dist.dna
, mlphylo
### From Saitou and Nei (1987, Table 1):
x <- c(7, 8, 11, 13, 16, 13, 17, 5, 8, 10, 13,
10, 14, 5, 7, 10, 7, 11, 8, 11, 8, 12,
5, 6, 10, 9, 13, 8)
M <- matrix(0, 8, 8)
M[row(M) > col(M)] <- x
M[row(M) < col(M)] <- x
rownames(M) <- colnames(M) <- 1:8
tr <- fastme.bal(M)
plot(tr, "u")
### a less theoretical example
data(woodmouse)
trw <- fastme.bal(dist.dna(woodmouse))
plot(trw)
Run the code above in your browser using DataLab