R/PARAMO_functions.R
get_descendants_chars.Rd
Returns all characters located (associated) with a given ontology terms
get_descendants_chars(ontology, annotations = "auto", terms, ...)
ontology_index object.
which annotations to use: "auto" means automatic annotations, "manual" means manual ones. Alternatively, any othe list element containing annotations can be specified.
IDs of ontology terms for which descendants are queried.
other parameters for ontologyIndex::get_descendants() function
The vector of character IDs.
ontology<-HAO
#> Error in eval(expr, envir, enclos): object 'HAO' not found
ontology$terms_selected_id<-list(`CHAR:1`=c("HAO:0000653"), `CHAR:2`=c("HAO:0000653"))
#> Error in ontology$terms_selected_id <- list(`CHAR:1` = c("HAO:0000653"), `CHAR:2` = c("HAO:0000653")): object 'ontology' not found
get_descendants_chars(ontology, annotations="manual", "HAO:0000653")
#> Error in get_descendants_chars(ontology, annotations = "manual", "HAO:0000653"): object 'ontology' not found