getImat                package:pcot2                R Documentation

_G_e_n_e_r_a_t_e _a_n _i_n_d_i_c_a_t_o_r _m_a_t_r_i_x

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

     This function is used to generate an indicator matrix as an input
     to the pcot2 function. The gene category indicator matrix
     indicates presence or absence of genes in pre-defined gene sets
     (e.g., gene pathways). The indicator matrix contains rows
     representing gene identifiers of genes present in the expression
     data and columns representing pre-defined group names. A value of
     1 indicates the presence of a gene and 0 indicates the absence for
     the gene in a particular group.

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

     getImat(x, pathlist, ms = 10)

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

       x: A matrix with no missing values; Each row represents a gene
          and each column represents a sample.

pathlist: A list of gene sets. 

      ms: The minimum gene set size. Gene sets containing less than
          this number of genes will be excluded from the analysis.

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

     An indicator matrix is returned. The matrix value is 1 (gene in)
     or 0 (gene out)

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

     Sarah Song and Mik Black

_R_e_f_e_r_e_n_c_e_s:

     S.Song and M.Black (2006) PCOT2: an R package for assessing
     expression changes in groups of related genes. Submitted to
     Bioinformatics.

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

     'pcot2','corplot','corplot2','aveProbe'

_E_x_a_m_p_l_e_s:

     library(multtest)
     library(hu6800)  
     data(golub)
     rownames(golub) <- golub.gnames[,3]
     colnames(golub) <- golub.cl
     KEGG.list <- as.list(hu6800PATH)
     imat <- getImat(golub, KEGG.list, ms=10) 

