Flag minor signals (e.g., satellite peaks) that were reported by IsoX (filter them out with orbi_filter_flagged_data()
).
Arguments
- dataset
A data frame or tibble produced from IsoX data by
orbi_simplify_isox()
Details
The orbi_filter_satellite_peaks()
function removes minor signals for an isotopocule that have been reported by IsoX.
These are often small satellite peaks
generated by the Fourier transform.
If there are signal of high intensity or very many signals, this can indicate that the m/z and tolerance setting used for processing .raw files with IsoX were incorrect.
Examples
fpath <- system.file("extdata", "testfile_flow.isox", package = "isoorbi")
df <-
orbi_read_isox(file = fpath) |>
orbi_simplify_isox() |>
orbi_flag_satellite_peaks()
#> orbi_read_isox() is loading .isox data from 1 file(s)...
#> - loaded 6449 peaks for 1 compounds (HSO4-) with 5 isotopocules (M0, 33S,
#> 17O, 34S, 18O) from testfile_flow.isox in 0.02 seconds.
#> orbi_simplify_isox() will keep only columns 'filepath', 'filename',
#> 'scan.no', 'time.min', 'compound', 'isotopocule', 'ions.incremental',
#> 'tic', 'it.ms'...
#> ...complete in 0.00 seconds.
#> orbi_flag_satellite_peaks() is flagging minor signals (satellite peaks)...
#> ...confirmed there are no satellite peaks in 0.17 seconds.