getGOFromFeatures {pRoloc} | R Documentation |
The function pulls the gene ontology (GO) terms for a set of feature names.
getGOFromFeatures(id, namespace = "cellular_component", evidence = NULL, params = NULL, verbose = FALSE, nmax = 500)
id |
An |
namespace |
The GO namespace. One of
|
evidence |
The GO evidence code. See
|
params |
An instance of class
|
verbose |
A |
nmax |
As described in
https://support.bioconductor.org/p/86358/, the Biomart
result can be unreliable for large queries. This argument
splits the input in chunks of length |
A data.frame
with relevant GO terms.
Laurent Gatto
library(pRolocdata) data(dunkley2006) data(dunkley2006params) dunkley2006params fn <- featureNames(dunkley2006)[1:5] getGOFromFeatures(fn, params = dunkley2006params)