pull_xic {mzDeco} | R Documentation |
this function is debug used only
pull_xic(pool, mz,
dtw = TRUE,
mzdiff = 0.01,
strict = FALSE);
a tuple list object that contains the xic data across multiple sample data files for a speicifc ion feature m/z.
require(mzkit);
imports "mzDeco" from "mz_quantify";
imports "visual" from "mzplot";
let files = list.files("/path/to/debug_data_dir/", pattern = "*.xic");
let pool = xic_pool(files);
let dtw_xic = pull_xic(pool, mz = 100.0011, dtw = TRUE);
bitmap(file = "/path/to/save_image.png") {
raw_snapshot3D(dtw_xic);
}
dtw_xic
|> mz_deco(joint = TRUE, peak.width = [3,60])
|> write.csv(file = "/path/to/export_peakstable.csv")
;