adaptive.bin.2: Adaptive binning specifically for the machine learning...

Description Usage Arguments Details Value Author(s) References

View source: R/adaptive.bin.2.R

Description

This is an internal function. It creates EICs using adaptive binning procedure

Usage

1
adaptive.bin.2(x, tol, ridge.smoother.window=50, baseline.correct)

Arguments

x

A matrix with columns of m/z, retention time, intensity.

tol

m/z tolerance level for the grouping of data points. This value is expressed as the fraction of the m/z value. This value, multiplied by the m/z value, becomes the cutoff level. The recommended value is the machine's nominal accuracy level. Divide the ppm value by 1e6. For FTMS, 1e-5 is recommended.

ridge.smoother.window

The size of the smoother window used by the kernel smoother to remove long ridge noise from the EIC.

baseline.correct

After grouping the observations, the highest intensity in each group is found. If the highest is lower than this value, the entire group will be deleted. The default value is NA, in which case the program uses the 75th percentile of the height of the noise groups.

Details

It uses repeated smoothing and splitting to separate EICs. The details are described in the reference and flowchart.

Value

A list is returned.

height.rec

The records of the height of each EIC.

masses

The vector of m/z values after binning.

labels

The vector of retention time after binning.

intensi

The vector of intensity values after binning.

grps

The EIC labels, i.e. which EIC each observed data point belongs to.

times

All the unique retention time values, ordered.

tol

The m/z tolerance level.

Author(s)

Tianwei Yu <tyu8@emory.edu>

References

Bioinformatics. 30(20): 2941-2948. Bioinformatics. 25(15):1930-36. BMC Bioinformatics. 11:559.


yufree/apLCMS documentation built on Jan. 11, 2020, 8:18 p.m.