getAnalyteFromPathway: Use fast search algorithm to find all pathways from given...

View source: R/ReturnAnalytes_InputPathways.R

getAnalyteFromPathwayR Documentation

Use fast search algorithm to find all pathways from given analytes

Description

Use fast search algorithm to find all pathways from given analytes

Usage

getAnalyteFromPathway(pathway, match = "exact", analyte_type = "both")

Arguments

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")

Value

a data.frame that contains all search results

Examples

## Not run: 
# To query one pathway:
myanalytes <- getAnalyteFromPathway(pathway="sphingolipid metabolism")

# To query multiple pathways:
pkg.globals <- setConnectionToRaMP(dbname="ramp2",username="root",conpass="",host = "localhost")
myanalytes <- getAnalyteFromPathway(pathway=c("De Novo Triacylglycerol Biosynthesis",
"sphingolipid metabolism"))

## End(Not run)

ncats/RaMP-DB documentation built on May 6, 2022, 1:35 a.m.