powered by
allTrees computes all bifurcating tree topologies for rooted or unrooted trees with up to 10 tips. The number of trees grows fast.
allTrees
allTrees(n, rooted = FALSE, tip.label = NULL)
an object of class multiPhylo.
multiPhylo
Number of tips (<=10).
Rooted or unrooted trees (default: rooted).
Tip labels.
Klaus Schliep klaus.schliep@gmail.com
rtree, nni, howmanytrees, dfactorial
rtree
nni
howmanytrees
dfactorial
trees <- allTrees(5) old.par <- par(no.readonly = TRUE) par(mfrow = c(3,5)) for(i in 1:15)plot(trees[[i]]) par(old.par)
Run the code above in your browser using DataLab