View source: R/tree_generation.R
NJTree | R Documentation |
NJTree()
generates a rooted neighbour joining tree from a phylogenetic
dataset.
NJTree(dataset, edgeLengths = FALSE, ratio = TRUE, ambig = "mean")
dataset |
A phylogenetic data matrix of phangorn class |
edgeLengths |
Logical specifying whether to include edge lengths. |
ambig , ratio |
Settings of |
NJTree
returns an object of class phylo
.
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree generation functions:
ConstrainedNJ()
,
GenerateTree
,
TreeNumber
,
TrivialTree
data("Lobo")
NJTree(Lobo.phy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.