hasGOannote {annotate} | R Documentation |
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.
hasGOannote(x, which="MF")
x |
A character vector, an instance of the |
which |
One of "MF", "BP" or "CC" |
The available GO annotation is searched and a determination of whether a specific GO identifier has a value in the specified ontology is made.
A logical vector of the same length as x
.
R. Gentleman
library("GO.db") t1 <- "GO:0003680" hasGOannote(t1) hasGOannote(t1, "BP")