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