rformassspectrometry / Spectra

Low level infrastructure to handle MS spectra
https://rformassspectrometry.github.io/Spectra/
34 stars 24 forks source link

New peaksVariables function #238

Closed jorainer closed 2 years ago

jorainer commented 2 years ago

Maybe it could be useful to have an additional peaksVariables method for MsBackend that returns the peak variables (same as spectraVariables, but for the peaks matrices). The default, and most backends would only return "mz" and "intensity", but other backends, like the TimsTOF could also return additional peak information.