GetNMDRStudy: Function to retrieve dataset from the Metabolomics Workbench.

View source: R/general_data_utils.R

GetNMDRStudyR Documentation

Function to retrieve dataset from the Metabolomics Workbench.

Description

This function uses the httr R package to make an API call to the Metabolomics Workbench to download and save a dataset based on the Study ID into the current working directory.

Usage

GetNMDRStudy(mSetObj=NA, StudyID)

Arguments

mSetObj

Input the name of the created mSetObj (see InitDataObjects).

StudyID

Input the StudyID of the study from the Metabolomics Workbench. Use the ListNMDRStudies function to obtain a list of all available studies from the Metabolomics Workbench.

Author(s)

Jeff Xia jeff.xia@mcgill.ca, Jasmine Chong McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on May 6, 2024, 2:41 a.m.