Description Usage Arguments Details Value Author(s) See Also
View source: R/functions-xcmsRaw.R
Given a sparse continuum mass spectrum, determine regions where no signal is present, substituting half of the minimum intensity for those regions. Calculate the noise level as the weighted mean of the regions with signal and the regions without signal. If there is only one raw peak, return zero.
1 |
spec |
matrix with named columns |
gap |
threshold above which to data points are considerd to be separated by a blank region and not bridged by an interpolating line |
The default gap value is determined from the 90th percentile of the pair-wise differences between adjacent mass values.
A numeric noise level
Colin A. Smith, csmith@scripps.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.