msDenoiseSmooth: Denoising Mass Spectra via Smoothing

Description Usage Arguments Value See Also

Description

Mass spectra are denoised via running medians.

Usage

1
msDenoiseSmooth(x, twiceit=TRUE, process="msDenoiseSmooth")

Arguments

x

A numeric vector.

process

A character string denoting the name of the process to register with the (embedded) event history object of the input after processing the input data. This process is not updated if it already exists in the event history. Default: "msDenoiseSmooth".

twiceit

A logical flag. If TRUE, smooth performs twicing. Twicing is the process of smoothing, computing the residuals from the smooth, smoothing these, and then adding the two smoothed series together. Default: TRUE.

Value

A vector of the same length of x with noise removed.

See Also

smooth.


zeehio/msProcess documentation built on May 4, 2019, 10:15 p.m.