get_descendants_chars {ontophylo} | R Documentation |
Get characters that are the descendants of a selected ontology term
Description
Returns all characters located (associated) with a given ontology term.
Usage
get_descendants_chars(ontology, annotations = "auto", terms, ...)
Arguments
ontology |
ontology_index object. |
annotations |
character. Sets which annotations to use: "auto" means automatic annotations, "manual" means manual annotations. Alternatively, any other list of element containing annotations can be specified. |
terms |
character. IDs of ontology terms for which descendants are queried. |
... |
other parameters for ontologyIndex::get_descendants() function. |
Value
The vector of character IDs.
Author(s)
Sergei Tarasov
Examples
data("HAO")
HAO$terms_selected_id <- list("CH1" = c("HAO:0000653"), "CH2" = c("HAO:0000653"))
get_descendants_chars(HAO, annotations = "manual", "HAO:0000653")
[Package ontophylo version 1.1.3 Index]