Learn R Programming

PTXQC (version 1.0.4)

plot_RTPeakWidth: Plot RT peak width over time

Description

The input is a data.frame with already averaged counts over binned RT-slices.

Usage

plot_RTPeakWidth(data, x_lim, y_lim)

Arguments

data

A data.frame with columns 'fc.raw.file', 'RT', 'peakWidth'

x_lim

Plot range of x-axis

y_lim

Plot range of y-axis

Value

GGplot object

Examples

Run this code
# NOT RUN {
 data = data.frame(fc.raw.file = rep(c("file A", "file B", "file C"), each=81),
                   RT = c(20:100), 
                   peakWidth = c(rnorm(81, mean=20), rnorm(81, mean=10), rnorm(81, mean=30)))
 plot_RTPeakWidth(data, c(10, 100), c(0, 40))

# }

Run the code above in your browser using DataLab