Skip to contents

Get metabolomic data from MetaboLights database

Usage

getMetaboLights(url, ...)

Arguments

url

character vector specifying the URL address of study in MetaboLights database.

...

optional arguments:

  • cache.dir Character scalar specifying directory where downloaded file is stored. (Default: tempdir())

Value

list

Details

The HoloFood database primarily comprises targeted metabolomic data, omitting non-targeted metabolomic information. Nonetheless, it features URLs linking to studies within the MetaboLights database. This functionality enables users to access non-targeted metabolomic data. The function returns a structured list encompassing data frames for study metadata, assay metadata, and assay.

See also

Examples


# This example is not run, because the server fails to respond sometimes.

url <- "https://www.ebi.ac.uk/metabolights/ws/studies/MTBLS4381"

if( FALSE ){
    res <- getMetaboLights(url)
    names(res)
    head(res[["feat_meta"]])
}