get_descendants_chars: Get characters that descendants of selected ontology term

Description Usage Arguments Value Examples

View source: R/Viz_manipul_main.R

Description

Returns all characters located (associated) with given ontology term(s)

Usage

1
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

1
2
3
4
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")

ontoFAST documentation built on April 29, 2021, 9:06 a.m.