learn.cdf: Peak detection using the machine learning approach.

Description Usage Arguments Details Value Author(s)

View source: R/learn.cdf.R

Description

The procedure uses information of known metabolites, and constructs prediction models to differentiate EICs.

Usage

1
learn.cdf(filename, tol = 2e-05, min.run = 4, min.pres = 0.3, baseline.correct = 0, ridge.smoother.window = 50, smoother.window = c(1, 5, 10), known.mz, match.tol.ppm = 5, do.plot = FALSE, pos.confidence = 0.99, neg.confidence = 0.99, max.ftrs.to.use = 10, do.grp.reduce = TRUE, remove.bottom.ftrs = 0, max.fpr = seq(0, 0.6, by = 0.1), min.tpr = seq(0.8, 1, by = 0.1), intensity.weighted=FALSE)

Arguments

filename

The cdf file name. If the file is not in the working directory, the path needs to be given.

min.pres

Run filter parameter. The minimum proportion of presence in the time period for a series of signals grouped by m/z to be considered a peak.

min.run

Run filter parameter. The minimum length of elution time for a series of signals grouped by m/z to be considered a peak.

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.

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.

ridge.smoother.window

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

smoother.window

The smoother windows to use in data feature generation.

known.mz

The m/z values of the known metabolites.

match.tol.ppm

The ppm tolerance to match identified features to known metabolites/features.

do.plot

Whether to produce diagnostic plots.

pos.confidence

The confidence level for the features matched to the known feature list.

neg.confidence

The confidence level for the features not matching to the known feature list.

max.ftrs.to.use

The maximum number of data features to use in a predictive model.

do.grp.reduce

Whether to reduce data features that are similar. It is based on data feature predictability.

remove.bottom.ftrs

The number of worst performing data features to remove before model building.

max.fpr

The proportion of unmatched features to be selected in the feature detection step.

min.tpr

The proportion of matched features to be selected in the feature detection step.

intensity.weighted

Whether to weight the local density by signal intensities.

Details

The subroutine takes CDF, mxml etc LC/MS profile. First the profile is sliced into EICs using adaptive binning. Then data features are extracted from each EIC. The EICs are classified into two groups: those that have m/z values that match to known m/z values, and those that don<e2><80><99>t. Classification models are built to separate the two classes, and each EIC is given a score by the classification model. Those with better scores are selected to enter the feature quantification step.

Value

A matrix with four columns: m/z value, retention time, intensity, and group number.

Author(s)

Tianwei Yu <tyu8@emory.edu>


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