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

