powered by
NJTree() generates a rooted neighbour joining tree from a phylogenetic dataset.
NJTree()
NJTree(dataset, edgeLengths = FALSE, ratio = TRUE, ambig = "mean")
A phylogenetic data matrix of 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()
NJTree returns an object of class phylo.
NJTree
phylo
Other tree generation functions: ConstrainedNJ(), GenerateTree, SingleTaxonTree(), TreeNumber
ConstrainedNJ()
GenerateTree
SingleTaxonTree()
TreeNumber
# NOT RUN { data('Lobo') NJTree(Lobo.phy) # }
Run the code above in your browser using DataLab