Calculate noise for a sparse continuum mass spectrum
specNoise.Rd
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.
Details
The default gap value is determined from the 90th percentile of the pair-wise differences between adjacent mass values.
Author
Colin A. Smith, csmith@scripps.edu