The ms2_data generic function retrieves mass spectrometry (MS2) spectra data from the provided object.
ms2_data(object, ...)An object from which MS2 spectra data will be extracted.
Additional arguments.
Depends on the specific method implementation. Typically, it might return a matrix, dataframe, or list with the MS2 spectra information.
methods for more details on S4 methods.