getRaMPInfoFromAnalytes: Internal function for extracting annotations, used by pathway...

View source: R/rampQueryHelper.R

getRaMPInfoFromAnalytesR Documentation

Internal function for extracting annotations, used by pathway and chemical enrichment test functions

Description

Internal function for extracting annotations, used by pathway and chemical enrichment test functions

Usage

getRaMPInfoFromAnalytes(analytes, NameOrIds = "ids", PathOrChem = "path")

Arguments

analytes

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

NameOrIds

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

PathOrChem

return "path" information for pathways or "chem" for chemical class

Value

a list of rampIds for "path" or a dataframe of chemClass info


ncats/RaMP-DB documentation built on Sept. 26, 2022, 4:37 a.m.