peak_alignment {mzDeco} | R Documentation |
Correlation optimized warping (COW) based on the total ion
current (TIC) is a widely used time alignment algorithm
(COW-TIC). This approach works successfully on chromatograms
containing few compounds and having a well-defined TIC.
peak_alignment(samples,
mzdiff = 0.01,
ri.win = 10,
norm = FALSE,
ri.alignment = FALSE,
max.intensity.ion = FALSE);
let peaksdata = lapply(files, function(ms1) {
mz_deco(ms1, tolerance = "da:0.01", peak.width = [3,30]);
});
let peaktable = peak_alignment(samples = peaksdata);
write.csv(peaktable,
file = "/path/to/peaktable.csv",
row.names = TRUE);