Convert a list of peaks to a data.frame
peaks2df(peaks)
peaks
(list of) MALDIquant::MassPeaks
Data.frame with peak data
data(Blank2022peaks) peakdf <- peaks2df(Blank2022peaks[1:2]) head(peakdf)