FilePathInput-accessors: 'FilePathInput' get and set accessors

filePathsR Documentation

FilePathInput get and set accessors

Description

Get and set methods for the FilePathInput S4 class.

Usage

filePaths(x)

## S4 method for signature 'FilePathInput'
filePaths(x)

filePaths(x) <- value

## S4 replacement method for signature 'FilePathInput'
filePaths(x) <- value

sampleInformation(x)

## S4 method for signature 'FilePathInput'
sampleInformation(x)

sampleInformation(x) <- value

## S4 replacement method for signature 'FilePathInput'
sampleInformation(x) <- value

Arguments

x

S4 object of class FilePathInput

value

value to set

Examples

file_paths <- metaboData::filePaths('FIE-HRMS','BdistachyonEcotypes')
sample_information <- metaboData::runinfo('FIE-HRMS','BdistachyonEcotypes')

workflow_input <- inputFilePath(file_paths,sample_information)

## Return the input file paths
## Not run: 
filePaths(workflow_input)

## End(Not run)
## Set the input file paths
filePaths(workflow_input) <- c('a_file.mzML')

## Return the sample information 
sampleInformation(workflow_input)

## Set the sample information
sampleInformation(workflow_input) <- tibble::tibble(fileName = 'a_file.mzML')

jasenfinch/metaboWorkflows documentation built on May 24, 2023, 8:23 a.m.