TreeTools (version 0.1.3)

SingleTaxonTree: SingleTaxonTree

Description

Single taxon tree

Usage

SingleTaxonTree(label)

Arguments

label

a character vector specifying the label of the tip.

Value

SingleTaxonTree returns a phylo object containing a single tip with the specified label.

Details

Create a phylogenetic 'tree' that comprises a single taxon.

See Also

Other tree manipulation: AddTip, Renumber, Subtree

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

Examples

Run this code
# NOT RUN {
SingleTaxonTree('Homo_sapiens')
plot(SingleTaxonTree('root') + BalancedTree(4))

# }

Run the code above in your browser using DataLab