SpectraTutorials icon indicating copy to clipboard operation
SpectraTutorials copied to clipboard

Filtering spectra within a particular RT range in each precursorMz? functions similar to `filterPrecursorMz`?

Open gmhhope opened this issue 4 years ago • 2 comments

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

gmhhope avatar May 10 '21 00:05 gmhhope

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

gmhhope avatar May 10 '21 00:05 gmhhope

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).

jorainer avatar May 10 '21 06:05 jorainer