Description Usage Arguments Value Examples
View source: R/Combine_Peaklists-Modules.R
Combines Peaklists from positive and negative ionization modes
without removing ion mode duplicates. For examples, see
InitWorkflow()
and vignettes.
1 | SimplyPeaklists(from.tables, to.table, peak.db, db.dir)
|
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 |
db.dir |
directory containing the database. Default is 'db' |
the file "Peaklist_Combined.csv"
is written to the working
directory
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.