TreeTools (version 0.1.3)

PectinateTree: Generate a Pectinate Tree

Description

Generates a pectinate (caterpillar) tree with the specified tip labels.

Usage

PectinateTree(tips)

Arguments

tips

An integer specifying the number of tips, or a character vector naming the tips, or any other object from which tip labels can be extracted with function TipLabels.

Value

PectinateTree and BalancedTree each return a binary tree of class phylo of the specified shape.

See Also

Other tree generation functions: BalancedTree, NJTree, RandomTree, SingleTaxonTree, TreeNumber

Examples

Run this code
# NOT RUN {
plot(PectinateTree(LETTERS[1:10]))

# }

Run the code above in your browser using DataLab