BRENDAAncestors: BRENDAAncestors

Description Usage Arguments Value Examples

View source: R/BRENDA.R

Description

Get all the ancestors of a term. Parents of its parents will be retrieved. Based on 'get_ancestors()' function in 'ontologyIndex' updated 07/2020

Usage

1

Arguments

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.

Value

If input is a valid BRENDA term, return a dataframe of the term ids and term names of the input's ancestors.

Examples

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

Vanessa104/devsig documentation built on Oct. 9, 2020, 2:28 a.m.