get_gene_go_terms | R Documentation |
Retrieve the GO terms associated to a gene
get_gene_go_terms(
gene,
raw = getOption("gemma.raw", FALSE),
memoised = getOption("gemma.memoised", FALSE),
file = getOption("gemma.file", NA_character_),
overwrite = getOption("gemma.overwrite", FALSE)
)
gene |
An ensembl gene identifier which typically starts with ensg or an ncbi gene identifier or an official gene symbol approved by hgnc |
raw |
|
memoised |
Whether or not to save to cache for future calls with the
same inputs and use the result saved in cache if a result is already saved.
Doing |
file |
The name of a file to save the results to, or |
overwrite |
Whether or not to overwrite if a file exists at the specified filename. |
A data table with information about the GO terms assigned to the
queried gene. A list if raw = TRUE
. A 404 error
if the given identifier does not map to any
object.
The fields of the output data.table are:
term.name
: Name of the term
term.ID
: ID of the term
term.URI
: URI of the term
get_gene_go_terms(3091)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.