get_annotation_parents | R Documentation |
Acquires parent terms of a given URI based on ontologies loaded into Gemma. Propagated relations are subClassOf and has_part
get_annotation_parents(
uri,
raw = getOption("gemma.raw", FALSE),
memoised = getOption("gemma.memoised", FALSE),
file = getOption("gemma.file", NA_character_),
overwrite = getOption("gemma.overwrite", FALSE)
)
uri |
Term URI |
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 annotations (annotation search result value objects)
matching the given identifiers. A list if raw = TRUE
. A 400 error
if required parameters are missing.
The fields of the output data.table are:
category.name
: Category that the annotation belongs to
category.URI
: URI for the category.name
value.name
: Annotation term
value.URI
: URI for the value.name
get_annotation_parents("http://purl.obolibrary.org/obo/MONDO_0000408")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.