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(
  db = RaMP(),
  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 June 1, 2024, 9:34 p.m.