plot_sims: Show the SIM traces

Description Usage Arguments Value Author(s)

View source: R/plot_sims.R

Description

Plot all SIM trace, including optional line to show where the compound elutes.

Usage

1
2
3
4
5
6
7
plot_sims(
  sim_data,
  rt_line = NULL,
  title = NULL,
  subtitle = NULL,
  peak_data = NULL
)

Arguments

sim_data

Data frame containing all the SIMs. Needs three columns: rt = retention time (x), intensity = intensity (y), sim = factor with the SIM names (used for faceting)

rt_line

A numerical value. If not NULL a dashed line is shown at this position.

title

Title of the plot (character).

subtitle

Subtitle of the plot (character).

peak_data

data frame containing all peak data. Output from find_peaks().

Value

A ggplot2 showing all the SIM traces.

Author(s)

Rico Derks


ricoderks/eisaCIM documentation built on Dec. 22, 2021, 4:09 p.m.