View source: R/OntologyQueryFunctions.R
getOntoFromMeta | R Documentation |
Function that query database to find ontology information based on the given list of metabolites
getOntoFromMeta(
mets,
namesOrIds = "ids",
includeRaMPids = FALSE,
db = RaMP(),
...
)
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 |
dataframe that contains searched ontology from given metabolites
## Not run:
rampDB <- RaMP()
getOntoFromMeta(mets = "hmdb:HMDB0071437", db=rampDB)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.