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")

