calcGraphStats             package:ScISI             R Documentation

_A _f_u_n_c_t_i_o_n _t_o _c_a_l_c_u_l_a_t_e _t_h_e _v_a_r_i_o_u_s _s_u_m_m_a_r_y _s_t_a_t_i_s_t_i_c_s _f_o_r _Y_2_H
_i_n_d_u_c_e_d _g_r_a_p_h_s

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

     This function takes a putative protein complex (given by comp) and
     a list of bait to prey associations, and from these two data-sets
     computes various summary statistics on the induced Y2H graph which
     include: edge proportion of sampled nodes (baits to prey);
     estimated population mean nodal degree; proportion of sampled
     baits with hits to baits with no hits; the average out degree of
     baits; the proteins (bait and prey) which are not isolated; the
     number of connected components to the y2h graph, etc.

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

     calcGraphStats(comp, bait2PreyL)

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

    comp: The 'comp' argument is a character vector containing the
          constituent proteins of some putative protein complex

bait2PreyL: A named list of lists. Each name represents a particular
          Y2H experiment; within each experimental entry, there is two
          more lists: 1. bpList and 2. expList. bpList is a named list
          of character vectors; each name corresponds to a bait protein
          of that particular experiment, and the enry is a chracater
          vecotor of the hit proteins found as prey. the expList is a
          named list concerning experimental data: ActD gives the
          activation domain; GW is a logical denoting if the prey list
          is genome wide; and numBaits details the number of baits used
          in the experiment.

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

     For the bait2PreyL; use the the intactInfo.rda data-set of the
     package y2hStat.

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

 complex: A character vector of the constituent members of the proteinn
          complex of interest

complexBait: A character vector of those protein members which were
          also tested as baits in the y2h experiments

 b2CompP: A character vector of all proteins which were tested as baits
          in the y2h experiments and also found a prey in the complex
          of interest

 notBait: A character vector of those protein members which were not
          tested as baits

avgDegOut: The average out-degree of the bait proteins of the complex
          of interest

notIsolated: A character vector of proteins that showed experimental
          binary affiliation for some other complex member

y2hGraph: An instance of the class graph; a graphNEL induceds Y2H graph
          on the protein complex

popMeanDegree: The population mean degree derived from the bait
          proteins

edgeProp: The estimated edge proportions derived between undirected Y2H
          edges

 degBait: A named list; each name corresponds to each member of the
          protein complex with the entry the number of proteins to
          which it is adjacent

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

     T Chiang

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

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

