Last chance! 50% off unlimited learning
Sale ends in
allTrees
computes all tree topologies for rooted or unrooted trees
with up to 10 tips. allTrees
returns bifurcating trees.
allTrees(n, rooted = FALSE, tip.label = NULL)
Number of tips (<=10).
Rooted or unrooted trees (default: rooted).
Tip labels.
an object of class multiPhylo
.
# NOT RUN {
trees <- allTrees(5)
par(mfrow = c(3,5))
for(i in 1:15)plot(trees[[i]])
# }
Run the code above in your browser using DataLab