hasGOannote {GOstats} | R Documentation |
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.
hasGOannote(x, which="MF")
x |
A length one character vector. |
which |
Either an environment or the name of an environment. By default this is the MF parents environment. |
The element x
is searched for in the environment. If it is
found then TRUE
is returned otherwise FALSE
is returned.
As described above.
R. Gentleman
t1 <- "GO:0003680" hasGOannote(t1) hasGOannote(t1, "BP")