filePaths: Data set file paths

View source: R/files.R

filePathsR Documentation

Data set file paths

Description

Return a vector of file paths for a given data set of a given metabolomic technique.

Usage

filePaths(technique, dataSet, dataSetDir = "DataSets", internalDir = TRUE, ...)

Arguments

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

Logical, should the directory for storing local data sets be internal to the package location.

...

arguments to pass to downloadDataSet()

Value

A character vector of file paths.

Examples

## Not run: 
files <- filePaths(
   techniques()[1],
   dataSets(techniques()[1])[1])

head(files)

## End(Not run)

metaboData documentation built on March 18, 2022, 5:19 p.m.