SingleTaxonTree() creates a phylogenetic 'tree' that contains a single taxon.

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.

Examples

SingleTaxonTree('Homo_sapiens')
#> 
#> Phylogenetic tree with 1 tips and 1 internal nodes.
#> 
#> Tip labels:
#>   Homo_sapiens
#> 
#> Rooted; no branch lengths.
plot(SingleTaxonTree('root') + BalancedTree(4))