R: Generate a single taxon tree

SingleTaxonTree {TreeTools} | R Documentation

## 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 manipulation: `AddTip()`, `CollapseNode()`, `ConsensusWithout()`, `DropTip()`, `EnforceOutgroup()`, `LeafLabelInterchange()`, `MakeTreeBinary()`, `RenumberTips()`, `RenumberTree()`, `Renumber()`, `RootTree()`, `SortTree()`, `Subtree()`

Other tree generation functions: `GenerateTree`, `NJTree()`, `TreeNumber`

### Examples

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

[Package TreeTools version 1.3.1 Index]