Plot line graph of TopN over Retention time.

Share:

Description

Number of Raw files must be 6 at most. Function will stop otherwise.

Usage

1

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

1
2
3
4
5
6
7
8
9
  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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.