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

Description Usage Arguments Value Examples

View source: R/rampFastQueryTab4.R

Description

Retrieves analytes that involved in same reaction as input metabolite

Usage

1
2
rampFastCata(analytes = NULL, conpass = NULL, dbname = "ramp",
  username = "root", host = "localhost", NameOrIds = "ids")

Arguments

analytes

a vector of analytes that need to be searched

conpass

password for database access (string)

dbname

name of the mysql database (default is "ramp")

username

username for database access (default is "root")

host

host name for database access (default is "localhost")

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

1
2
3
4
## Not run: 
rampFastCata(analytes="creatine",conpass="mypassword",NameOrIds="names")

## End(Not run)

ncats/RaMP-DB documentation built on Nov. 21, 2020, 7:41 p.m.