Description Usage Arguments Value Examples
View source: R/rampFastQueryTab3.R
Function that search analytes (gene or compounds) or a list of analytes and returns associated pathways
1 2 3 | getPathwayFromAnalyte(analytes = NULL, find_synonym = FALSE,
conpass = NULL, host = "localhost", dbname = "ramp",
username = "root", NameOrIds = "ids")
|
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") |
a list contains all metabolites as name and pathway inside.
1 2 3 4 | ## Not run:
mypath <- getPathwayFromAnalyte(analytes=c("2-hydroxyglutarate","glutamate"), conpass="mypassword")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.