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

