Skip to contents

Generate a workflow project directory from a workflow definition.

Usage

generateWorkflow(workflow, start = TRUE)

# S4 method for Workflow
generateWorkflow(workflow, start = TRUE)

Arguments

workflow

S4 object of class Workflow

start

TRUE/FALSE. Automatically activate the project in a new RStudio session after creation

Examples

if (FALSE) {
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')
                                      
generateWorkflow(workflow_definition)
}