getOntoFromMeta: Function that query database to find ontology information...

View source: R/OntologyQueryFunctions.R

getOntoFromMetaR Documentation

Function that query database to find ontology information based on the given list of metabolites

Description

Function that query database to find ontology information based on the given list of metabolites

Usage

getOntoFromMeta(
  mets,
  namesOrIds = "ids",
  includeRaMPids = FALSE,
  db = RaMP(),
  ...
)

Arguments

mets

a vector of metabolites or a metabolites delimited by new line character

namesOrIds

specify the type of given data

includeRaMPids

whether or not to include RaMP ids in the output (TRUE/FALSE)

db

a RaMP database object

...

Internal Use - for handling deprecated parameter names

Value

dataframe that contains searched ontology from given metabolites

Examples

## Not run: 
rampDB <- RaMP()
getOntoFromMeta(mets = "hmdb:HMDB0071437", db=rampDB)

## End(Not run)

ncats/RaMP-DB documentation built on June 10, 2025, 10:50 a.m.