Isoprocessor supports several plotting and data conversion functions specifically for dual inlet data. This vignette shows some of the functionality for dual inlet files read by the isoreader package (see the corresponding vignette for details on data retrieval, storage and export).


Plotting the raw data can be done either with the generic iso_plot_raw_data() function for a simple plot with default parameters, or directly using the dual inlet specific iso_plot_dual_inlet_data():

All customization options are described in the function help (?iso_plot_dual_inlet_data) and include, for example, plotting only a specific subset of masses:

Isotope ratios

For dual inlet applications isotope ratios calculated using the recorded ion intensities are typically of primary interest. For this purpose, isoprocessor provides a dynamic ratio calculation function (iso_calculate_ratios()) that accepts any combination of masses, here demonstrated for several different ratios. In this context, another useful customization option of the plotting function is the option to adjust plot aesthetics such as color, shape, and paneling:


In addition, isoprocessor provides a dynamic raw delta calculation function (iso_calculate_deltas()) that calculates direct or bracketed sample-standard delta values as described in the function help. See code below for a few examples:

Signal conversion

Isoprocessor can convert between different signal units. This is particularly useful for comparing data files from different mass specs that record primary signals differentally. In dual inlet applications, this is typically less important than in continuous flow because data is usually visualized as ratios right away. However, occassionally it can be of interest to examine the primary ion currents.

Plot styling

Since all isoprocessor plots are standard ggplot objects, they can be modified with any ggplot commands. For example to add a horizontal line (using dplyr for the calculations) and modify the themes: