powered by
TreeIsRooted() is a fast alternative to ape::is.rooted().
TreeIsRooted()
ape::is.rooted()
TreeIsRooted(tree)
TreeIsRooted() returns a logical specifying whether a root node is resolved.
A phylogenetic tree of class phylo.
phylo
Martin R. Smith (martin.smith@durham.ac.uk)
Other tree properties: ConsensusWithout(), MatchEdges(), NSplits(), NTip(), NodeNumbers(), PathLengths(), SplitsInBinaryTree(), TipLabels()
ConsensusWithout()
MatchEdges()
NSplits()
NTip()
NodeNumbers()
PathLengths()
SplitsInBinaryTree()
TipLabels()
TreeIsRooted(BalancedTree(6)) TreeIsRooted(UnrootTree(BalancedTree(6)))
Run the code above in your browser using DataLab