View source: R/Viz_manipul_main.R
get_ancestors_chars | R Documentation |
Returns all ontology terms which are ancestors of a given character set
get_ancestors_chars(ontology, char_id, annotations = "auto")
ontology |
ontology_index object with character annatotions included (ontology$annot_characters). |
char_id |
IDs of character. |
annotations |
which annotations to use: "auto" means automatic annotations, "manual" means manual ones. Alternatively, any othe list element containing annotations can be specified. |
The vector of ontology terms IDs.
data(HAO) ontology<-HAO ontology$terms_selected_id<-list(`CHAR:1`=c("HAO:0000653"), `CHAR:2`=c("HAO:0000653")) get_ancestors_chars(ontology, c("CHAR:1","CHAR:2"), annotations="manual")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.