plot_IonInjectionTimeOverRT {PTXQC} | R Documentation |
Plot line graph of TopN over Retention time.
Description
Number of Raw files must be 6 at most. Function will stop otherwise.
Usage
plot_IonInjectionTimeOverRT(data, stats, extra_limit)
Arguments
data |
A data.frame with columns 'fc.raw.file', 'rRT', 'medIIT' |
stats |
A data.frame with columns 'fc.raw.file', 'mean' |
extra_limit |
Visual guidance line (maximum acceptable IIT) |
Value
GGplot object
Examples
data = data.frame(fc.raw.file = rep(c("d","a","x"), each=100),
rRT = seq(20, 120, length.out = 100),
medIIT = c(round(runif(100, min=3, max=5)),
round(runif(100, min=5, max=8)),
round(runif(100, min=1, max=3)))
)
stats = data.frame(fc.raw.file = c("d","a","x"),
mean = c(4, 6.5, 2))
plot_IonInjectionTimeOverRT(data, stats, 10)
[Package PTXQC version 1.1.1 Index]