BRENDASearch: BRENDASearch

Description Usage Arguments Value Examples

View source: R/BRENDA.R

Description

search for ontology term in an obo file or a vector of all ontology term name updated 07/2020

Usage

1
BRENDASearch(x, obo = BRENDAobo, contain_all = TRUE)

Arguments

x

A string or character vector to search for. x will be divided into different search patterns by space. See examples below.

obo

The ontology file or a character vector of all possible term names. Optional. BRENDA OBO file will be loaded if not provided.

contain_all

if TRUE, will only return the results contain all search terms. if FALSE, will return results contain any of the given pattern.

Value

matrix including search result

Examples

1
2
3
4
5
6
BRENDASearch("MDA MB cell", contain_all = TRUE) 
# search for results that contain "MDA" "MB" and "cell"
BRENDASearch(c("MDA MB", "cell"), contain_all = TRUE) 
# same as above
BRENDASearch(c("MDA-MB", "SUM"), contain_all = FALSE) 
# search for results that contain either "MDA-MB" or "SUM"

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