Learn R Programming

specmine (version 4.0.0)

get_metabolights_study: Download a complete MetaboLights study

Description

Downloads files and metadata for every assay in a public MetaboLights study.

Usage

get_metabolights_study(studyID, directory, verbose = TRUE)

Value

Invisibly returns a list with one entry per assay containing downloaded files, metadata, and sample-file mappings.

Arguments

studyID

Character string with the MetaboLights study identifier.

directory

Output directory where study files and metadata will be written.

verbose

Logical indicating whether progress messages should be shown.

Examples

Run this code
if (FALSE) {
tmpdir <- tempdir()
get_metabolights_study("MTBLS1", directory = tmpdir, verbose = FALSE)
}

Run the code above in your browser using DataLab