complexStatus            package:PCpheno            R Documentation

_C_o_m_p_l_e_x _S_t_a_t_u_s

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

     Categorize the complex whether or not a complex is composed of a
     significant number of genes involved in a particular phenotype
     than expected by chance.

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

     complexStatus(data, phenotype, interactome, threshold=0.05)

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

    data: Output from CoHyperG test

phenotype: List of gene names inducing an observed phenotype, e.g.,
          list of essential gene names (see package _SLGI_)

interactome: A binary matrix composed of genes (rows) and biological
          complexes (columns) (see package _ScISI_)

threshold: pvalue threshold (default 0.05)

_D_e_t_a_i_l_s:

     We form four distinct categories from A to D to characterize how a
     complex might be involved in a particular phenotype (according to
     the number of genes it contains and that are involved in a
     particular phenotype - see also CoHyperG function)

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

     The returned value is a list with components: 

       A: "interesting" complexes, complexes with a significant number
          of interesting genes, i.e., genes that participate to a
          particular phenotype (at a given p-values threshold)

       B: complexes with a NON significant number of interesting genes
          BUT that  SHARE genes with complexes from the A status

       C: complexes with a NON significant number of interesting genes
          AND that DON'T SHARE interesting genes with complexes from
          cat A

       D: complexes WITHOUT interesting genes, i.e. the one involved in
          the studied phenotype

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

     N. LeMeur

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

     data(ScISI)
     data(essglist)
     essential <- names(essglist)

     CoparamsESS <- new("CoHyperGParams",
                        geneIds=essential, 
                        universeGeneIds=rownames(ScISI),
                        annotation="YEAST",
                        categoryName="ScISI",
                        pvalueCutoff=0.01,
                        testDirection="over")

     sign<- hyperGTest(CoparamsESS)
     test05 <-complexStatus(data=sign, phenotype=essential,
     interactome=ScISI, threshold=0.05)

