Learn R Programming

MALDIcellassay (version 0.4.47)

peaks2df: Convert a list of peaks to a data.frame

Description

Convert a list of peaks to a data.frame

Usage

peaks2df(peaks)

Value

Data.frame with peak data

Arguments

peaks

(list of) MALDIquant::MassPeaks

Examples

Run this code
data(Blank2022peaks)

peakdf <- peaks2df(Blank2022peaks[1:2])
head(peakdf)

Run the code above in your browser using DataLab