This is coming from https://github.com/jorainer/SpectraTutorials/issues/6 . Some instruments don't report precursor intensities, but it's straight forward to calculate them based on MS1 spectra data. The functionality for OnDiskMSnExp objects is currently implemented in xcms::estimatePrecursorIntensity - we should also implement that for Spectra.
This is coming from https://github.com/jorainer/SpectraTutorials/issues/6 . Some instruments don't report precursor intensities, but it's straight forward to calculate them based on MS1 spectra data. The functionality for
OnDiskMSnExp
objects is currently implemented inxcms::estimatePrecursorIntensity
- we should also implement that forSpectra
.