View source: R/ReturnPathwaysEnrich_InputAnalytes.R
getPathwayFromAnalyte | R Documentation |
Function that search analytes (gene or compounds) or a list of analytes and returns associated pathways
getPathwayFromAnalyte(
analytes = "none",
find_synonym = FALSE,
NameOrIds = "ids",
includeRaMPids = FALSE
)
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) |
NameOrIds |
whether input is "names" or "ids" (default is "ids") |
includeRaMPids |
include internal RaMP identifiers (default is "FALSE") |
a list contains all metabolites as name and pathway inside.
## Not run:
pkg.globals <- setConnectionToRaMP(
dbname = "ramp2", username = "root",
conpass = "", host = "localhost"
)
mypath <- getPathwayFromAnalyteV2(analytes = c("2-hydroxyglutarate", "glutamate"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.