powered by
Get mass shift for target mz
getMzShift(peaks, targetMz, tol, tolppm = FALSE, verbose = TRUE)
List with two entries: MzShift The mass shift for each spectrum specIdx The index of the spectra with a match for targetMz
MzShift
specIdx
List of MALDIquant::MassPeak
Numeric, target mass
Numeric, tolerance around targetMz
Logical, tolerance supplied in ppm
Logical, print logs to the console.
data(Blank2022peaks) getMzShift(Blank2022peaks, targetMz = 760.585, tol = 0.1, tolppm = FALSE)
Run the code above in your browser using DataLab