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 and an environment this function determines
     whether there is an entry (or symbol) in the environment with the
     same name as the term.

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

     hasGOannote(x, which="MF")

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

       x: A length one character vector. 

   which: Either an environment or the name of an environment. By
          default this is the MF parents environment. 

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

     The element 'x' is searched for in the environment. If it is found
     then 'TRUE' is returned otherwise 'FALSE' is returned.

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

     As described above.

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

