Learn R Programming

MALDIcellassay (version 0.4.47)

calculatePeakStatistics: Calculate peak statistics

Description

Calculate peak statistics

Usage

calculatePeakStatistics(curveFits, singlePeaks, spec)

Value

A tibble with peak statistics.

Arguments

curveFits

list of curve fits as returned by MALDIcellassay::calculateCurveFit().

singlePeaks

list of MALDIquant::MassPeaks.

spec

list of MALDIquant::MassSpectrum.

Examples

Run this code
data(Blank2022intmat)
fits <- calculateCurveFit(Blank2022intmat, idx = 1:5)

peakstats <- calculatePeakStatistics(curveFits = fits, 
                                     singlePeaks = Blank2022peaks, 
                                     spec = Blank2022spec)
head(peakstats)

Run the code above in your browser using DataLab