View source: R/Viz_manipul_main.R
chars_per_term | R Documentation |
Returns matrix summarizing number of characters per each ontology terms in descending order
chars_per_term(ontology, annotations = "auto")
ontology |
ontology_index object with character annatotions included (ontology$annot_characters). |
annotations |
which annotations to use: "auto" means automatic annotations, "manual" means manual ones. Alternatively, any othe list element containing annotations can be specified. |
The matrix of ontology terms IDs, their names and character number.
data(HAO) ontology<-HAO ontology$terms_selected_id<-list(`CHAR:1`=c("HAO:0000653"), `CHAR:2`=c("HAO:0000653")) chars_per_term(ontology, annotations="manual")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.