gtResult-class            package:PCpheno            R Documentation

_A _c_l_a_s_s _f_o_r _r_e_p_r_e_s_e_n_t_i_n_g _t_h_e _r_e_s_u_l_t _o_f _a _g_r_a_p_h_T_h_e_o_r_y _t_e_s_t.

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

     A class for representing the result of a 'graphTheory' test.

_S_l_o_t_s:


     '_P_v_a_l_u_e': Object of class '"numeric"'

     '_O_b_s_e_r_v_e_d': Return a '"numeric"' vector: the observed  number of
          interactions between genes inducing a specific phenotype and
          each cellular organizational units

     '_E_x_p_e_c_t_e_d': Return a matrix: the expected number of interactions
          between genes inducing a specific phenotype and each cellular
          organizational units

_E_x_t_e_n_d_s:

     Class '"testResult"', directly.

_M_e_t_h_o_d_s:


     '_p_l_o_t' Graphical representation of the test result

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

     N. LeMeur

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

     'testResult','deResult','plot'

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

     ## apply a densityEstimate test 
     data(DudleyPhenoM)
     data(ScISIC)

     DudleyPhenoL <- apply(DudleyPhenoM,2,function(x) names(which(x==1)))
     NaCl <- DudleyPhenoL[["NaCl"]]

     perm <- 20 
     NaClGraph <- graphTheory(genename=NaCl, interactome=ScISIC,
     perm=perm)
      

     ## access results
     slotNames(NaClGraph)
     NaClGraph@Pvalue[1:5]

     ## use of the plot method
     plot(NaClGraph)

