prepareHeatmap           package:goCluster           R Documentation

_A _f_u_n_c_t_i_o_n _t_o _r_e_f_o_r_m_a_t _a _g_o_C_l_u_s_t_e_r _r_e_s_u_l_t _f_o_r _g_r_a_p_h_i_c_a_l _r_e_p_r_e_s_e_n_t_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

       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. 

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Gunnar Wrobel, <URL: http://www.gunnarwrobel.de>.

_S_e_e _A_l_s_o:

     'clusterVisualHeatmap-class'

