Skip to main content
. 2021 Mar 2;9:1246. Originally published 2020 Oct 15. [Version 2] doi: 10.12688/f1000research.26669.2

Table 1. A table lists some functions operating on the phylo object that are available in the TreeSummarizedExperiment.

Functions Goal
printNode print out the information of nodes
countNode count the number of nodes
distNode give the distance between a pair of nodes
matTree list paths of a tree
findAncestor find ancestor nodes
findChild find child nodes
findSibling find sibling nodes
shareNode find the first node shared in the paths of nodes to the root
unionLeaf find the union of descendant leaves
trackNode track nodes by adding alias labels to a phylo object
isLeaf test whether a node is a leaf node
showNode print out nodes of a tree
addLabel label nodes of a tree
joinNode represent descendant nodes with their ancestor nodes