convert mz to frequency using linear fit
mz_frequency_interpolation.Rd
Given a query, and either two values of M/Z and two values of frequency or a previously generated model, return a data.frame with the predicted value, and the slope and the intercept so the model can be re-used later for other points when needed.
Usage
mz_frequency_interpolation(
mz_query,
mz_values = NULL,
frequency_values = NULL,
model = NULL
)