getOntology | R Documentation |
Find the subset of GO terms for the specified ontology, for each element of the supplied list of associations. The input list is typically from one of the chip-specific meta-data files.
getOntology(inlist, ontology=c("MF", "BP", "CC"))
inlist |
A list of GO associations |
ontology |
The name of the ontology you want returned. |
The input list should be a list of lists, each element of inlist
is itself a list containing the information that maps from a specified
ID (usually LocusLink) to GO information. Each element of the inner list
is a list with elements GOID
, Ontology
and Evidence
.
A list of the same length as the input list. Each element of this
list will contain a vector of GOID
s for those terms that match
the requested ontology.
R. Gentleman
getEvidence
, dropECode
library("hgu95av2.db")
bb <- hgu95av2GO[["39613_at"]]
getOntology(bb)
sapply(bb, function(x) x$Ontology)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.