SpectraTutorials
SpectraTutorials copied to clipboard
Filtering spectra within a particular RT range in each precursorMz? functions similar to `filterPrecursorMz`?
Could I easily implement filtering spectra within a particular RT range according to their character in the MS1 scan? Something similar to filterPrecursorMz?
Thanks, Minghao Gong
I don't know whether this is the right one? Could you briefly comment on this? Thanks very much!
filterRt(sps_ms2, rt = rt_range) # rt_range should be in the unit of seconds?
Best, Minghao
Yes, exactly, filterRt is the function that lets you filter Spectra by a retention time range (independently if the spectrum is MS level 1 or 2).