plotCycleTime: Plot Cycle Time

View source: R/rawDiag.R

plotCycleTimeR Documentation

Plot Cycle Time

Description

graphs the time difference between two consecutive MS1 scans (cycle time) with respect to RT (scatter plots) or its density (violin). A smooth curve graphs the trend. The 95th percentile is indicated by a red dashed line.

Usage

plotCycleTime(x, method = "trellis")

Arguments

x

a data.frame object adhering to the specified criteria for the is.rawDiag function.

method

specifying the plot method 'trellis' | 'violin' | 'overlay'. The default is 'trellis'.

Value

a ggplot object.

Examples

rawrr::sampleFilePath() |> readRaw() |> plotCycleTime()

fgcz/rawDiag documentation built on May 5, 2024, 4:23 a.m.