This function helps with the preparation of plotting data from scan files. Call either explicity and pass the result to iso_plot_scan_data or let iso_plot_scan_data take care of preparing the plotting data directly from the iso_files.

iso_prepare_scan_plot_data(
  iso_files,
  data = character(),
  include_file_info = type,
  filter = NULL
)

Arguments

iso_files

collection of iso_file objects

data

which masses and ratios to plot (e.g. c("44", "45", "45/44") - without the units), if omitted, all available masses and ratios are plotted. Note that ratios should be calculated using iso_calculate_ratios prior to plotting.

include_file_info

which file information to include (see iso_get_file_info). Use c(...) to select multiple, supports all select syntax including renaming columns.

filter

any filter condition to apply to the data beyond the masses/ratio selection (param data). For details on the available data columns see iso_get_raw_data with parameters gather = TRUE and include_file_info = everything() (i.e. all file info is available for plotting aesthetics).

See also