View source: R/treeManipulation.R
allTrees | R Documentation |
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)
n |
Number of tips (<=10). |
rooted |
Rooted or unrooted trees (default: rooted). |
tip.label |
Tip labels. |
an object of class multiPhylo
.
Klaus Schliep klaus.schliep@gmail.com
rtree
, nni
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.