Skip to contents

Validate a workflow definition, checking for issues. An error or a warning will be returned if a problem is detected.

Usage

validate(x)

# S4 method for Workflow
validate(x)

Arguments

x

S4 object of class Workflow

Examples

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

workflow_input <- inputFilePath(file_paths,sample_information)

workflow_definition <- defineWorkflow(workflow_input,
                                      'FIE-HRMS fingerprinting',
                                      'Example project')
                 
validate(workflow_definition)