SimplyPeaklists: Combine Peaklists simply

Description Usage Arguments Value Examples

View source: R/Combine_Peaklists-Modules.R

Description

Combines Peaklists from positive and negative ionization modes without removing ion mode duplicates. For examples, see InitWorkflow() and vignettes.

Usage

1
SimplyPeaklists(from.tables, to.table, peak.db, db.dir)

Arguments

from.tables

character vector of table names to draw from databases to be combined simply.

to.table

to which table should LUMA save the modified Peaklist

peak.db

what database contains the Peaklists to be combined simply. Default is "Peaklist_db"

db.dir

directory containing the database. Default is 'db'

Value

the file "Peaklist_Combined.csv" is written to the working directory

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
library(LUMA)
if(require(lcmsfishdata, quietly = TRUE)) {
  db.dir <- system.file("extdata", package = "lcmsfishdata")
  InitWorkflow(db.dir = db.dir)
  SimplyPeaklists(from.tables = c("Peaklist_Pos_Solvent Peaks Removed",
  "Peaklist_Neg_Solvent Peaks Removed"),
  to.table = "Peaklist_Combined",
  peak.db = peak_db, db.dir = db.dir)
  FinalWorkflow(peak_db = peak_db, lib_db = lib_db)
  }

## End(Not run)

USEPA/LUMA documentation built on Aug. 29, 2020, 1:40 p.m.