Description Usage Arguments Value
View source: R/getSumSpectrum.R
Sum multiple scans and optionally normalize the spectrum. Scans are gridded by the grouping algorithm 'indexMasterSpectrum()'.
1 2 3 4 5 6 7 8 9 10 11 |
mzObj |
a data.table or disk.frame imported from mzML/mzXML file. |
ppmTol |
The mass accuracy of the instrument in ppm. Default = NULL |
iStart |
Optional. The integer start index to begin extracting ions. Default = NULL. |
iStop |
Optional. The integer stop index stop extracting ions. Default = NULL. |
tStart |
Optional. The numeric time value to begin extracting ions. Default = NULL. |
tStop |
Optional. The numeric time value to stop extracting ions. Default = NULL. |
normalize |
Logical. Default = 'FALSE'. Should the data be normalized? |
method |
the normalization method. "maxPeak", "sum", or "sqrt". |
isCentroid |
Logical. The default is 'TRUE'. Are the spectra centroids? |
Returns a data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.