Learn R Programming

specmine (version 3.0.1)

get_metabolights_study_metadata_assay: Download metadata file from an assay of MetaboLights study

Description

Downloads the metadata file from the assay specified in 'assay' of the MetaboLights study ('studyID').

Usage

get_metabolights_study_metadata_assay(studyID, assay, directory)

Arguments

studyID

ID of the metabolights study to download.

assay

Number of the assay.

directory

Directory where to download the data.

Details

This function should be used together with get_metabolights_study_files_assay. See example below.

The metadata file is a csv file with the metadata information on each sample of the study's assay.

References

MetaboLights database: https://www.ebi.ac.uk/metabolights/

Examples

Run this code
# NOT RUN {
 get_metabolights_study_files_assay('MTBLS346', 1, tempdir())
 get_metabolights_study_metadata_assay('MTBLS346', 1, tempdir())
# }

Run the code above in your browser using DataLab