powered by
TreeIsRooted() is a fast alternative to ape::is.rooted().
TreeIsRooted()
ape::is.rooted()
TreeIsRooted(tree)
A phylogenetic tree of class phylo.
phylo
TreeIsRooted() returns a logical specifying whether a root node is resolved.
Other tree properties: ConsensusWithout(), NSplits(), NTip(), TipLabels()
ConsensusWithout()
NSplits()
NTip()
TipLabels()
# NOT RUN { TreeIsRooted(BalancedTree(6)) TreeIsRooted(UnrootTree(BalancedTree(6))) # }
Run the code above in your browser using DataLab