add scan level info
add_scan_info.Rdadd scan level info
Details
returns a data.frame with:
scanIndex: the indices of the scansscan: the number of the scan by number. This will be used to name scans.polarity: +1 or -1 depending on if the scan is positive or negativertime: the retention time or injection time of the scan for for direct-injection datatic: the total intensity of the scanrtime_lag: how long between this scan and previous scanrtime_lead: how long between this scan and next scan
After running predict_frequency(), the following fields are added
from the information returned from frequency conversion:
mad: mean absolute deviation of residualsfrequency model coefficients: the coefficients from the fit frequency, named whatever you named themmz model coefficients: similar, but for the m/z model