powered by
NJTree() generates a rooted neighbour joining tree from a phylogenetic dataset.
NJTree()
NJTree(dataset, edgeLengths = FALSE, ratio = TRUE, ambig = "mean")
NJTree returns an object of class phylo.
NJTree
phylo
A phylogenetic data matrix of phangorn class phyDat, whose names correspond to the labels of any accompanying tree.
phyDat
Logical specifying whether to include edge lengths.
Settings of ambig and ratio to be used when computing Hamming() distances between sequences.
ambig
ratio
Hamming()
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree generation functions: ConstrainedNJ(), GenerateTree, TreeNumber, TrivialTree
ConstrainedNJ()
GenerateTree
TreeNumber
TrivialTree
data("Lobo") NJTree(Lobo.phy)
Run the code above in your browser using DataLab