View source: R/ReturnAnalytes_InputPathways.R
getAnalyteFromPathway | R Documentation |
Use fast search algorithm to find all pathways from given analytes
getAnalyteFromPathway(
db = RaMP(),
pathway,
match = "exact",
analyte_type = "both",
max_pathway_size = Inf,
names_or_ids = "names"
)
pathway |
a string or a vector of strings that contains pathways of interest |
match |
type of matching to use, options are "exact" or "fuzzy". The default is "exact". |
analyte_type |
a string denoting the type of analyte to return ("gene", "metabolite", "both") |
max_pathway_size |
(default Inf), trims returned results to pathways that have fewer than this number |
names_or_ids |
are the input pathways input as pathway names or as pathway ids of genes and metabolites |
a data.frame that contains all search results
## Not run:
# To query one pathway:
myanalytes <- getAnalyteFromPathway2(pathway="sphingolipid metabolism")
# To query multiple pathways:
pkg.globals <- setConnectionToRaMP(dbname="ramp2",username="root",conpass="",host = "localhost")
myanalytes <- getAnalyteFromPathway2(pathway=c("De Novo Triacylglycerol Biosynthesis",
"sphingolipid metabolism"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.