msDenoiseSmooth {msProcess} | R Documentation |
Mass spectra are denoised via running medians.
msDenoiseSmooth(x, twiceit=TRUE, process="msDenoiseSmooth")
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 . |
A vector of the same length of x
with noise removed.