downloadFiles {metaboData}R Documentation

Download specific files from a data set

Description

Download specific files for a given example data set.

Usage

downloadFiles(
  files,
  technique,
  dataSet,
  dataSetDir = "DataSets",
  internalDir = TRUE,
  ask = TRUE,
  ...
)

Arguments

files

character vector of file paths to download

technique

metabolomic technique name

dataSet

data set name

dataSetDir

directory to store local data sets. If internalDir = TRUE this is a directory relative to the library location.

internalDir

stored the data set internally to the package installation location

ask

ask before downloading

...

arguments to pass to piggyback::pb_download()

Value

A list object containing the API request response results for the downloaded files.

Examples

## Not run: 
downloadFiles(c('31.mzML.gz','32.mzML.gz'),'FIE-HRMS','BdistachyonTechnical')

## End(Not run)

[Package metaboData version 0.6.3 Index]