getMzShift {MALDIcellassay} | R Documentation |
Get mass shift for target mz
Description
Get mass shift for target mz
Usage
getMzShift(peaks, targetMz, tol, tolppm = FALSE, verbose = TRUE)
Arguments
peaks |
List of MALDIquant::MassPeak |
targetMz |
Numeric, target mass |
tol |
Numeric, tolerance around targetMz |
tolppm |
Logical, tolerance supplied in ppm |
verbose |
Logical, print logs to the console. |
Value
List with two entries:
MzShift
The mass shift for each spectrum
specIdx
The index of the spectra with a match for targetMz
Examples
data(Blank2022peaks)
getMzShift(Blank2022peaks, targetMz = 760.585, tol = 0.1, tolppm = FALSE)
[Package MALDIcellassay version 0.4.47 Index]