Learn R Programming

MALDIcellassay (version 0.4.47)

plotCurves: generate ggplot objects for each of the curve fits in a MALDIassay object

Description

generate ggplot objects for each of the curve fits in a MALDIassay object

Usage

plotCurves(object, mzIdx = NULL, errorbars = c("none", "sd", "sem"))

Value

list of ggplot objects

Arguments

object

object of class MALDIassay

mzIdx

numeric, indicies of mz values to plot (see getPeakStatistics()). Note, fc_thresh and R2_thresh filters do not apply if mzIdx is set!

errorbars

character, add error bars to plot. Either standard error of the mean (sem) or standard deviation (sd) in regards to the measurement replicates or no errorbars (none).

Examples

Run this code

data(Blank2022res)
plotCurves(Blank2022res, mzIdx = 2, errorbars = "sd")

Run the code above in your browser using DataLab