defineWorkflow | R Documentation |
Define a metabolomics data analysis workflow for a given input type and workflow name.
defineWorkflow(input, workflow, project_name, ...)
## S4 method for signature 'GroverInput'
defineWorkflow(input, workflow, project_name, ...)
## S4 method for signature 'FilePathInput'
defineWorkflow(input, workflow, project_name, ...)
input |
S4 object of class |
workflow |
workflow name as returned by |
project_name |
the project name |
... |
arguments to pass to |
Further project template options such as the use of the R package renv
for R package management can also be declared, which are passed to defineProject()
. See the defineProject()
documentation for details on these options.
An S4 object of class Workflow
defineProject()
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')
workflow_definition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.