Learn R Programming

specmine (version 3.1.6)

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/