Learn R Programming

metaboData (version 0.6.3)

filePaths: 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

Run this code
# NOT RUN {
files <- filePaths(
   techniques()[1],
   dataSets(techniques()[1])[1])

head(files)
# }

Run the code above in your browser using DataLab