msDenoiseSmooth {msProcess}R Documentation

Denoising Mass Spectra via Smoothing

Description

Mass spectra are denoised via running medians.

Usage

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.


[Package msProcess version 1.0.5 Index]