Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SingleTaxonTree

Generate a single taxon tree


Description

SingleTaxonTree() creates a phylogenetic 'tree' that contains 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 generation functions: GenerateTree, NJTree(), TreeNumber

Examples

SingleTaxonTree('Homo_sapiens')
plot(SingleTaxonTree('root') + BalancedTree(4))

TreeTools

Create, Modify and Analyse Phylogenetic Trees

v1.4.4
GPL (>= 3)
Authors
Martin R. Smith [aut, cre, cph] (<https://orcid.org/0000-0001-5660-1727>), Emmanuel Paradis [cph] (<https://orcid.org/0000-0003-3092-2199>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.