Learn R Programming

PTXQC (version 1.1.2)

plot_IDsOverRT: Plot IDs over time for each Raw file.

Description

Uses plot_DataOverRT() internally.

Usage

plot_IDsOverRT(data, x_lim = range(data$RT), y_max = max(data$counts))

Value

GGplot object

Arguments

data

A data.frame with columns as described above

x_lim

Limits of the x-axis (2-tuple)

y_max

Maximum of the y-axis (single value)

Examples

Run this code
 data = data.frame(fc.raw.file = rep(paste('file', letters[1:3]), each=30),
                            RT = seq(20, 120, length.out = 30),
                        counts = c(rnorm(30, 400, 20), rnorm(30, 250, 15), rnorm(30, 50, 15)))
 plot_IDsOverRT(data)

Run the code above in your browser using DataLab