rampFastCataOriginal: Retrieves analytes that involved in same reaction as input...

View source: R/ReturnGeneMetab_SameRxn.R

rampFastCataOriginalR Documentation

Retrieves analytes that involved in same reaction as input metabolite

Description

Retrieves analytes that involved in same reaction as input metabolite

Usage

rampFastCataOriginal(analytes = "none", NameOrIds = "ids")

Arguments

analytes

a vector of analytes that need to be searched

NameOrIds

whether input is "names" or "ids" (default is "ids")

Value

a dataframe containing query results. If the input is a metabolite, the function will output gene transcript common names and source IDs that are known to catalyze reactions in the same pathway as that metabolite. Conversely, if the input is a gene, the function will return the common name and source id of metabolites known to be catalyzed directly or indirectly by that gene.

Examples

## Not run: 
pkg.globals <- setConnectionToRaMP(dbname="ramp2",username="root",conpass="",host = "localhost")
rampFastCata(analytes="creatine",NameOrIds="names")

## End(Not run)

ncats/RaMP-DB documentation built on Sept. 26, 2022, 4:37 a.m.