calcInOutDegStats          package:ppiStats          R Documentation

_T_h_i_s _f_u_n_c_t_i_o_n _c_a_l_c_u_l_a_t_e_s _t_h_e _v_a_r_i_o_u_s _d_e_g_r_e_e _s_t_a_t_i_s_t_i_c _f_o_r _a
_P_r_o_t_e_i_n-_P_r_o_t_e_i_n _I_n_t_e_r_a_c_t_i_o_n (_P_P_I) _G_r_a_p_h

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

     This function takes a graphNEL argument and calculates several
     degree statistics for which further analysis can be made.

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

     calcInOutDegStats(graphObj, homodimer=FALSE)

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

graphObj: The argument 'graphObj' is an instance of the  class
          graphNEL.

homodimer: A logical. If FALSE, the function removes all homodimer
          relationships. It retains them otherwise.

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

     The return value is a list of various degree statistics of the PPI
     directed graph: 

inDegree: A named numeric vector. The names corresponds to the
          particular yeast Open Reading Frame (ORF), and each entry
          details how many edges flow towards that node, i.e. how many
          times each node was detected as a prey.

outDegree: A named numeric vector. The names corresponds to the
          particular yeast Open Reading Frame (ORF), and each entry
          details how many edges flow out from that node, i.e. how many
          prey was detected by each node as a bait.

inDegreeMinusOutDegree: A named numeric vector. This entry is the
          inDegree minus the outDegree entries, or the signed
          difference for each node as a prey to  each node as a bait.

outDegreeMinusInDegree: A named numeric vector. This entry is the
          outDegree minus the inDegree entries, or the signed
          difference for each node as a bait to  each node as a prey.

recipInDegree: A named numeric vector. Again the names represents the
          ORFs, while each entry corresponds to how many times each
          node was found as a prey in a  reciprocated interaction.

recipOutDegree: A named numeric vector. Again the names represents the
          ORFs, while each entry corresponds to how many times each
          node was found as a bait in a  reciprocated interaction.

totalRecipDegree: A numeric. For the PPI graph given, this argument
          gives the total number of reciprocated interactions found.

unrecipInDegree: A named numeric vector. The names corresponds ORF and 
          each entry details how many edges flow towards each node
          modulo the reciprocated  interactions, i.e. for each node
          $p$, how many baits $b$ detected $p$ as a prey with  the
          condition that $p$ never detects $b$ as a prey.

unrecipOutDegree: A named numeric vector. The names corresponds ORF and
           each entry details how many edges flow out from each node
          modulo the reciprocated  interactions, i.e. for each node
          $b$, how many prey $p$ does $b$ detect with the  condition
          that $b$ is never detected by $p$.

totalUnrecipDegree: A numeric. The total number of unreciprocated
          interactions for the PPI graph given.

     ...

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

     T Chiang

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

             library(ppiData)
             degStat <- calcInOutDegStats(Cagney2001BPGraph)
             degStat$recipOutDeg

