Learn R Programming

TreeTools (version 0.1.4)

SingleTaxonTree: Single Taxon Tree

Description

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

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.

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