allTrees

0th

Percentile

Compute all trees topologies.

allTrees computes all tree topologies for rooted or unrooted trees with up to 10 tips. allTrees returns bifurcating trees.

Keywords
cluster
Usage
allTrees(n, rooted = FALSE, tip.label = NULL)
Arguments
n

Number of tips (<=10).

rooted

Rooted or unrooted trees (default: rooted).

tip.label

Tip labels.

Value

an object of class multiPhylo.

See Also

rtree, nni

Aliases
  • allTrees
Examples
# NOT RUN {
trees <- allTrees(5)
par(mfrow = c(3,5))
for(i in 1:15)plot(trees[[i]])

# }
Documentation reproduced from package phangorn, version 2.5.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.