plot_sims.Rd
Plot all SIM trace, including optional line to show where the compound elutes.
plot_sims( sim_data, rt_line = NULL, title = NULL, subtitle = NULL, peak_data = NULL )
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(). |
A ggplot2 showing all the SIM traces.
Rico Derks