R/workflowMethods.R

Defines functions workflowMethods

workflowMethods <- function(analysis){
  method <- list(
    `FIE-HRMS fingerprinting` = FIEfingerprintingMethods,
    `NSI-HRMS fingerprinting` = FIEfingerprintingMethods,
    `NP-LC-HRMS profiling` = profilingMethods,
    `RP-LC-HRMS profiling` = profilingMethods,
    `GC-MS profiling deconvolution` = profilingMethods
  )
  method <- method[[analysis@workflowParameters@workflow]]
  return(method)
}
jasenfinch/metaboReports documentation built on Nov. 19, 2021, 7:23 p.m.