hasGOannote             package:GOstats             R Documentation

_C_h_e_c_k _f_o_r _G_O _a_n_n_o_t_a_t_i_o_n

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

     Given a GO term, or a vector of GO terms and an ontology this
     function determines which of the terms have GO annotation in the
     specified ontology.

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

     hasGOannote(x, which="MF")

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

       x: A character vector, an instance of the 'GOTerms' class or a
          list of 'GOTerms'. 

   which: One of "MF", "BP" or "CC"

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

     The available GO annotation is searched and a determination of
     whether a specific GO identifier has a value in the specified
     ontology is made.

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

     A logical vector of the same length as 'x'.

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

     R. Gentleman

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

     'get'

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

      t1 <- "GO:0003680"
      hasGOannote(t1)
      hasGOannote(t1, "BP")

