Skip to contents

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

Value

An S4 object of class FilePathInput.

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

Examples

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

workflow_input <- inputFilePath(file_paths,sample_information)

workflow_input
#> File path workflow input
#> # files: 68