TrivialTree | R Documentation |
SingleTaxonTree()
creates a phylogenetic "tree" that contains a single
taxon.
ZeroTaxonTree()
creates an empty phylo
object with zero leaves or edges.
SingleTaxonTree(label = "t1")
ZeroTaxonTree()
label |
a character vector specifying the label of the tip. |
SingleTaxonTree()
returns a phylo
object containing a single
tip with the specified label.
ZeroTaxonTree()
returns an empty phylo
object.
Other tree manipulation:
AddTip()
,
CollapseNode()
,
ConsensusWithout()
,
DropTip()
,
EnforceOutgroup()
,
ImposeConstraint()
,
KeptPaths()
,
KeptVerts()
,
LeafLabelInterchange()
,
MakeTreeBinary()
,
Renumber()
,
RenumberTips()
,
RenumberTree()
,
RootTree()
,
SortTree()
,
Subtree()
,
TipTimedTree()
Other tree generation functions:
ConstrainedNJ()
,
GenerateTree
,
NJTree()
,
TreeNumber
SingleTaxonTree("Homo_sapiens")
plot(SingleTaxonTree("root") + BalancedTree(4))
ZeroTaxonTree()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.