pull_xic {mzDeco} R Documentation

extract a collection of xic data for a specific ion feature

Description


this function is debug used only

Usage

pull_xic(pool, mz,
    dtw = TRUE,
    mzdiff = 0.01,
    strict = FALSE);

Arguments

pool

should be type of XICPool or peak collection PeakSet object.

mz

the ion feature m/z value. [as double]

dtw

this parameter will not working when the data pool type is clr type PeakSet. [as boolean]

mzdiff

[as double]

Details

Authors

BioNovoGene

Value

a tuple list object that contains the xic data across multiple sample data files for a speicifc ion feature m/z.

clr value class

Examples

 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")
 ;

[Package mzDeco version 1.0.0.0 Index]