dropECode              package:GOstats              R Documentation

_D_r_o_p _G_O _l_a_b_e_l_s _f_o_r _s_p_e_c_i_f_i_e_d _E_v_i_d_e_n_c_e _C_o_d_e_s

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

     Genes are mapped to GO terms on the basis of evidence codes. In
     some analyses it will be appropriate to drop certain sets of
     annotations based on specific evidence codes.

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

     dropECode(inlist, code="IEA")

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

  inlist: A list of GO data 

    code: The set of codes that should be dropped. 

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

     A simple use of 'lapply' and 'sapply' to find and eliminate those
     terms that have the specified evidence codes.

     This might be used when one is using to GO to validate a sequence
     matching experiment (for example), then all terms whose mapping
     was based on sequence similarity (say ISS and IEA) should be
     removed.

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

     A list of the same length as the input list retaining only those
     annotations whose evidence codes were not the ones in the
     exclusion set 'code'.

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

     R. Gentleman

_S_e_e _A_l_s_o:

     'getEvidence', 'getOntology'

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

      bb=GOLOCUSID2GO$"4121"
      getEvidence(bb)
      cc = dropECode(bb)
      getEvidence(cc)

