prepareHeatmap {goCluster} | R Documentation

## A function to reformat a goCluster result for graphical representation

### Description

The function will combine a selection of annotation terms with a clustering result of the dataset in order to identify the genes that led to the identification of each annotation term. For each annotation term selected, the class will assemble an element that holds the annotation term, the associated p-value, the corresponding genes, and the expression data of these genes. This can then be converted to a nice heatmap representation for the annotation term.

### Usage

    prepareHeatmap(X, Clusters, Annoset, Dataset, ID)

### Arguments

`X` | The tree of selected annotation terms.
`Clusters` | The tree of clusters. The tree structure must match the structure of the
`Annoset` | The different annotations that were used in the analysis.
`Dataset` | The original dataset.
`ID` | The unique id of each element in the dataset. It bridges the element index in the clustering result and the annotation data.

### Value

A list of lists that has the same tree structure as the input tree. Instead of annotation terms each node holds a combination of annotation term, p-value, genes responsible for the selection of the annotation term as well as the expression values of these genes.

### Author(s)

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

### See Also

`clusterVisualHeatmap-class`

[Package goCluster version 1.0.0 Index]