selectTerms {goCluster} | R Documentation

## A function to select interesting annotation terms with the associated genes from a goCluster object

### Description

This function will retrieve the data for the given annotation terms from a `goCluster`-object.

### Usage

    selectTerms(goCluster, terms)

### Arguments

`goCluster` | An object of class `goCluster` with an object of class `clusterVisualHeatmap` as visualization method.
`terms` | The annotation terms that should be returned.

### Details

The heatmap visualization method will store the identified annotation terms in a tree that matches the clustering tree. The `selectTerms`-function facilitates the retrieval of specified annotation terms from this tree.

### Value

A list of elements named according to the annotation terms.

### Examples

    set.seed(1000)

    data(benomylsetupsmall)

    benomylsetupsmall$classvisu <- "clusterVisualHeatmap"

    a <- new("goCluster")

    execute(a) <- benomylsetupsmall

    selectTerms(a, "GO:0003735")

[Package goCluster version 1.0.3 Index]