inputFilePath: Workflow input using file paths

View source: R/input.R

inputFilePathR Documentation

Workflow input using file paths

Description

Use file paths to .mzML data files for workflow input.

Usage

inputFilePath(file_paths, sample_information)

Arguments

file_paths

character vector of .mzML file paths

sample_information

a tibble containing sample information. See details for specifications

Details

The tibble containing sample information should at least contain the following columns:

  • fileOrder - the numeric file order of the input files when order alphabetically as returned by list.files().

  • injOrder - the sample injection order during MS analysis

  • fileName - the sample file name

  • batch - the analytical batch number

  • block - the randomised block number

  • name - the sample name

  • class - the sample class name

Value

An S4 object of class FilePathInput.

Examples

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

workflow_input <- inputFilePath(file_paths,sample_information)

workflow_input

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