deResult-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 _d_e_n_s_i_t_y_E_s_t_i_m_a_t_e _t_e_s_t.

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

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

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


     '_S_i_z_e': Object of class '"numeric"' representing the size of the
          cellular organizational unit tested

     '_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','gtResult','densityEstimate', '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)))
     pH3 <- DudleyPhenoL[["pH3"]]

     perm <- 20 
     pH3Density <- densityEstimate(genename=pH3, interactome=ScISIC, perm=perm) 

     ## access results
     pH3Density@Observed[1:5]

     ## use of the plot method
     plot(pH3Density)

