Description Usage Arguments Value Examples
View source: R/IndexMasterSpectrum.R
Index the m/z axis for a set of mass spectra. Function outputs normalized m/z values and integer index values.
1  | indexMasterSpectrum(mzDt, ppmTol, isCentroid = TRUE)
 | 
mzDt | 
 a data.table containing a column named mz  | 
ppmTol | 
 the grouping tolerance in ppm  | 
isCentroid | 
 Logical. The default is 'TRUE'. Are the spectra centroids?  | 
Returns the original data.table also containing the the normalized m/z values and their index
1  | mz <- c(100, 100.01, 100.02, 100.021, 100.2, 100.21, 100.22, 100.22, 100.31)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.