collectTerms {goCluster}R Documentation

A function to collect all annotation terms of a tree

Description

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.

Usage

collectTerms(tree)

Arguments

tree A tree that contains list that are named "annot".

Value

A tree with leaves that only hold the names of items of the original tree.

Author(s)

Gunnar Wrobel, http://www.gunnarwrobel.de.

Examples



[Package goCluster version 1.0.3 Index]