Annotate isotopes based on mass differences, retention time and peak correlation if required.
annotateIsotopes(peaklist, rawScans, ppm, rttol)
extracted peaks. Data.frame with 4 columns (m.z, RT, int and peakID).
raw scan data. Data.frame with 5 columns (m.z, RT, int, peakID and Scan).
mass tolerance in ppm.
rt windows with the same units used in peaklist.
peaklist with 6 columns (m.z, RT, int, peakID, isotope and group).