Learn R Programming

MALDIcellassay (version 0.4.47)

plotPeak: Plot a peak of interest from a MALDIassay object

Description

Plot a peak of interest from a MALDIassay object

Usage

plotPeak(object, mzIdx, tol = 0.8)

Value

ggplot object

Arguments

object

object of class MALDIassay

mzIdx

numeric, index of mass of interest (see getPeakStatistics())

tol

numeric, tolerance around peak to plot

Examples

Run this code

data(Blank2022res)
plotPeak(Blank2022res, mzIdx = 2)

Run the code above in your browser using DataLab