Description Usage Arguments Value
View source: R/mass_calibration.R
calMzAxis.
1 | calMzAxis(avgSpc_mz, ref_mz, target_mz, method = "loess", CalSpan = 0.75)
|
avgSpc_mz |
The mass axis to calibrate. |
ref_mz |
a vector of reference masses (for exaple the theorical gold peaks). |
target_mz |
manually slected masses to be fittet to ref_masses (must be the same length than ref_mz). |
method |
a string with the method used for interpolation, valid methods are loess and linear |
CalSpan |
the span of loess method. |
a list containing the calibrated mass axis and the interpolated mass error repect the original mass axis.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.