Description Usage Arguments Details Value
View source: R/functions-groupPEAKS.R
Function performs peak-picking and peak-grouping for each LC-MS datafile independently.
1 | groupPEAKS(file = NULL, out_dir = NULL, cwt = NULL, ncores = 2, thr = 0.95)
|
file |
|
out_dir |
|
cwt |
|
ncores |
|
thr |
|
Function performs peak-picking using the centWave algorithm from package xcms. Picked-peaks are then grouped into chemical spectra. For each peak in the sample:
Co-eluting peaks are found.
EIC correlation between all co-eluting peaks is performed.
Network of peaks with high EIC correlation (with coefficients above the selected threshold) is built.
Co-eluting peaks within a network of high EIC correlation originate from the same chemical compound and therefore form a chemical spectrum.
For each LC-MS file, function writes a table with picked-peaks and their peak-groups into separate files, in the defined out_dir
directory.
Inputed metadata file is updated to include a column 'proc_filepath', specifying full path to processed csv files peak-group tables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.