RmbSpectrum2 object. Note that MSnbase::Spectrum has
a method as.data.frame, however that one will return only mz, intensity. This function is kept separate to ensure downwards
compatibility since it returns more columns than MSnbase as.data.frame.
"getData"(s)RmbSpectrum2 object to extract data from.