The function 'binning' takes a matrix of
spectra and constructs a matrix of intensities of reduced
dimensions based on a equally spaced mesh of 'breaks'
intervals over the entire m/z range.
Usage
binning(Ma, breaks = 400)
Arguments
Ma
a matrix of spectra by column.
breaks
number of bins, or equally-spaced intervals for
the image of reduced resolution