getPathwayFromAnalyte: Function that search analytes (gene or compounds) or a list...

Description Usage Arguments Value Examples

View source: R/rampFastQueryTab3.R

Description

Function that search analytes (gene or compounds) or a list of analytes and returns associated pathways

Usage

1
2
3
getPathwayFromAnalyte(analytes = NULL, find_synonym = FALSE,
  conpass = NULL, host = "localhost", dbname = "ramp",
  username = "root", NameOrIds = "ids")

Arguments

analytes

a vector of analytes (genes or metabolites) that need to be searched

find_synonym

find all synonyms or just return same synonym (T/F)

conpass

password for database access (string)

host

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

dbname

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

username

username for database access (default is "root")

NameOrIds

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

Value

a list contains all metabolites as name and pathway inside.

Examples

1
2
3
4
## Not run: 
mypath <- getPathwayFromAnalyte(analytes=c("2-hydroxyglutarate","glutamate"), conpass="mypassword")

## End(Not run)

Mathelab/RaMP-DB documentation built on April 24, 2021, 3:11 p.m.