A function to be passed to combineSpectra to combine boxcar spectra. This function simply sums intensities and is provided as an example. See the MSnbaseBoxCar vignette for example code.

boxcarCombine(x)

Arguments

x

A list of spectra