getLeavesFromTerm | R Documentation |
obtain childless descendents of a term (including query)
getLeavesFromTerm(x, ont)
x |
a character(1) id element for ontology_index instance |
ont |
an ontology_index instance as defined in ontologyIndex package |
character vector of 'leaves' of ontology tree
ch = getOnto("chebi_lite")
alldr = getLeavesFromTerm("CHEBI:23888", ch)
head(ch$name[alldr[1:15]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.