rmByEvi                package:ScISI                R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _p_a_r_s_e_s _t_h_r_o_u_g_h _e_a_c_h _G_O _p_r_o_t_e_i_n _c_o_m_p_l_e_x _a_n_d
_r_e_m_o_v_e_s _p_r_o_t_e_i_n_s _b_a_s_e_d _o_n _e_v_i_d_e_n_c_e _c_o_d_e_s.

_D_e_s_c_r_i_p_t_i_o_n:

     The set of proteins protKept argument is a filtered set of
     proteins based on evidence codes given by the users. If complex
     contains any protein not in protKept, that protein will be
     deleted.

_U_s_a_g_e:

     rmByEvi(protKept, complex)

_A_r_g_u_m_e_n_t_s:

protKept: A character vector of filtered proteins. Only the proteins
          listed in this vector should be kept in the protein complexes

 complex: A list of the GO protein complexes

_D_e_t_a_i_l_s:

     When 'getGOInfo' is called, the user can specify a set of evidence
     codes in the argument (see getGOInfo.Rd). The function 'getGOInfo'
     then generates a set of proteins, protKept (which are indexed by
     evidence codes other than the user specified set of evidence
     codes), that are valid proteins.

     This function takes this set of proteins and compares it with each
     GO protein complex. If any protein is found within a GO protein
     complex and does not belong to protKept, it is deleted from that
     protein complex.

_V_a_l_u_e:

     The return value is the "complex" list with a protein removed from
     the protein complex if that protein is not found in protKept.

_A_u_t_h_o_r(_s):

     Tony Chiang

