Create a correlation ion monitoring chromatogram.

plot_cim(
  sim_data,
  peak_list,
  select_sim = NULL,
  rt_line = NULL,
  title = NULL,
  subtitle = NULL
)

Arguments

sim_data

Data frame containing all the SIM traces (from extract_sims()).

peak_list

Data frame containing peak information (from group_peaks), cleaned up.

select_sim

A character vector, which SIM trace to show.

rt_line

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

title

A character vector. The title of the plot.

subtitle

A character vector. The subtitle of the plot.

Value

A ggplot graph with the full CIM chromatogram and a zoom part

Author

Rico Derks