get_descendants_chars: Get characters that descendants of selected ontology term

View source: R/Viz_manipul_main.R

get_descendants_charsR 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")

sergeitarasov/ontoFAST documentation built on Aug. 5, 2022, 4:20 a.m.