Description Usage Arguments Value Examples
View source: R/Constructor-Modules.R
All LUMA workflows must start with this module Creates the first
Peaklist and sets up storing and passing Peaklists and ancillary data
between modules. For examples, see InitWorkflow() and vignettes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14  | InitWorkflow(
  ion.id,
  db.dir,
  use.CAMERA,
  use.XCMS,
  CAMERA.obj,
  XCMS.obj,
  graph.method,
  QC.id,
  ion.mode,
  mytable,
  calc.minfrac,
  multiple
)
 | 
ion.id | 
 character vector specifying identifier in mzdata filenames
designating positive or negative ionization or both. Must be a
(case-insensitive) abbreviation of the ionization mode name. Positive
identifier must come first. Default is   | 
db.dir | 
 character name of subdirectory to store databases. Default is
  | 
use.CAMERA | 
 logical indicating whether to use existing CAMERA object in global environment. Default is to look for CAMERA objects saved by previous calls to this function and run CAMERA if missing.  | 
use.XCMS | 
 logical indicating whether to use existing XCMS object in global environment. Default is to look for XCMS objects saved by previous calls to this function and run XCMS if missing.  | 
CAMERA.obj | 
 which CAMERA object to use to initialize LUMA workflow.
Only relevant if   | 
XCMS.obj | 
 which XCMS object to use to initialize LUMA workflow. Only
relevant if   | 
graph.method | 
 graphing method to use for CAMERA. Default is
  | 
QC.id | 
 character vector specifying identifier in filename designating a
Pooled QC sample.  Only the first value will be used.  Default is
  | 
ion.mode | 
 which ion mode(s) will be processed for this data. Must be
one or both of   | 
mytable | 
 character name of the first Peaklist table in the database.
Default is   | 
calc.minfrac | 
 logical should LUMA calculate the minimum fraction values
for the initial Peaklist. Default is   | 
multiple | 
 logical should multiple fields be allowed in dialog boxes.
Default is   | 
global variables and Peaklist in database are returned
1 2 3 4 5 6 7 8 9 10  | ## Not run: 
library(LUMA)
if(require(lcmsfishdata, quietly = TRUE)) {
  db.dir <- system.file("extdata", package = "lcmsfishdata")
  InitWorkflow(db.dir = db.dir)
  AnnotatePeaklist(from.table = "From_CAMERA", to.table = "Annotated")
  FinalWorkflow(peak_db = peak_db, lib_db = lib_db)
  }
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.