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.
“分级”功能的光谱矩阵,并构建了一个矩阵的基础上的“截断”的时间间隔超过整个m / z范围等距网格的尺寸减小强度。
用法----------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
降低分辨率的图像数量的垃圾箱,或相等的间距间隔
值----------Value----------
A matrix of dimensions c(dim(Ma)[1], 'breaks').
一个矩阵的尺寸c(暗淡(马)[1],“截断”)。