filePaths: Data set file paths

Description Usage Arguments Value Examples

View source: R/files.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
## Not run: 
files <- filePaths(
   techniques()[1],
   dataSets(techniques()[1])[1])

head(files)

## End(Not run)

metaboData documentation built on Aug. 20, 2021, 5:06 p.m.