getMzShift | R Documentation |
Get mass shift for target mz
getMzShift(
peaks,
targetMz,
tol,
tolppm = FALSE,
verbose = TRUE,
allowNoMatch = TRUE
)
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. |
allowNoMatch |
Logical, allow no matches. |
List with two entries:
MzShift
The mass shift for each spectrum
specIdx
The index of the spectra with a match for targetMz
data(Blank2022peaks)
getMzShift(Blank2022peaks, targetMz = 760.585, tol = 0.1, tolppm = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.