collectTerms {goCluster} | R Documentation |
The function will parse a tree (list of lists) and extract the names of items in all leaves of the tree that are named "annot". A tree with the same structure is returned but the leaves are either removed or replaced by the names of the items they contained.
collectTerms(tree)
tree |
A tree that contains list that are named "annot". |
A tree with leaves that only hold the names of items of the original tree.
Gunnar Wrobel, http://www.gunnarwrobel.de.