createSummaryTables         package:ppiStats         R Documentation

_A _f_u_n_c_t_i_o_n _t_o _c_r_e_a_t_e _s_u_m_m_a_r_y _s_t_a_t_i_s_t_i_c _t_a_b_l_e_s _f_o_r _d_i_r_e_c_t_e_d _g_r_a_p_h_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function takes a list of directed graph objects and creates a
     summary table based on the directed connectivity.

_U_s_a_g_e:

     createSummaryTables(dataGraphs)

_A_r_g_u_m_e_n_t_s:

dataGraphs: A named list of directed graphNELs

_V_a_l_u_e:

     A dataframe with the rows indexed by the names of each directed
     graphNEL  and the columns indexed by viable baits (VB), viable
     prey (VP), viable bait/prey (VBP), the ratio of viable bait/prey
     by viable baits (VBP/VB), the ratio of viable prey by viable baits
     (VP/VB), the total number of directed interactions (TI), and the
     ratio of total intractions by viable baits (TI/VB).

_A_u_t_h_o_r(_s):

     T Chiang

_E_x_a_m_p_l_e_s:

     graphs = lapply(bpExperimentNames, function(x) get(x))
     names(graphs) = bpExperimentNames
     createSummaryTables(graphs)

