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.
Maybe it could be useful to have an additional
peaksVariables
method forMsBackend
that returns the peak variables (same asspectraVariables
, 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.