R/spread_match.R
spread_intensities.Rd
To be able to calculate ratios per cycle, it is necessary to put the sample and reference as columns next to each other. This function transforms the data into the desired format.
spread_intensities(
.data,
...,
ids = NULL,
our_cols = NULL,
names_pattern = "v([4-9]{2}).(mV)",
quiet = NULL
)
A tibble containing mass intensities per cycle.
These dots are for future extensions and must be empty.
Identifying columns that we'll group by.
Columns with data values that need to be reshaped. Defaults to v44.mV to v54.mV.
Regular expression passed to [tidyr::pivot_longer].
If TRUE
, print info messages. If NULL
(default) listens to options(clumpedr.quiet)
A tibble with the sample and reference gasses side-by-side as s44-s49 and r44-r49.