Description Usage Arguments Details Value
For a vector of given peak locations, quantify peaks for individual spectra.
1 | getPeaks2(bseoffM, pVec, eps = 0.003)
|
bseoffM |
A matrix of intensities, with rows the m/z values and columns samples. |
pVec |
A vector of given peak locations. |
eps |
Relative precision of peak location. |
Each peak is expanded to an interval, eps * m/z to the left and right of the peak. Intensities of individual spectra are quantified by the maxima in this interval.
A matrix of intensities with rows the peaks 'pVec' and column the samples. The m/z values of 'pVec' is stored as the 'rownames' of the returned matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.