Description Usage Arguments Value Examples
Get all the ancestors of a term. Parents of its parents will be retrieved. Based on 'get_ancestors()' function in 'ontologyIndex' updated 07/2020
1 | BRENDAAncestors(x, obo = BRENDAobo)
|
x |
A BRENDA term id, term name, or synonym of a term |
obo |
Optional. The ontology file. BRENDA OBO file will be loaded if not provided. |
If input is a valid BRENDA term, return a dataframe of the term ids and term names of the input's ancestors.
1 2 3 | BRENDAAncestors("BTO:0000034")
BRENDAAncestors("SUM149 cell") # synonym; function will change it to the current name
BRENDAAncestors("BTO:0000216") # input valid but no result, gives character0
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.