orbi_filter_isox {isoorbi} | R Documentation |
Basic generic filter for IsoX data
Description
A basic filter function orbi_filter_isox()
for file names, isotopocules, compounds and time ranges. Default value for all parameters is NULL, i.e. no filter is applied.
Usage
orbi_filter_isox(
dataset,
filenames = NULL,
compounds = NULL,
isotopocules = NULL,
time_min = NULL,
time_max = NULL
)
Arguments
dataset |
The IsoX data to be filtered |
filenames |
Vector of file names to keep, keeps all if set to |
compounds |
Vector of compounds to keep, keeps all if set to |
isotopocules |
Vector of isotopocules to keep, keeps all if set to |
time_min |
Minimum retention time in minutes ( |
time_max |
Maximum retention time in minutes ( |
Value
Filtered tibble
Examples
fpath <- system.file("extdata", "testfile_flow.isox", package = "isoorbi")
df <-
orbi_read_isox(file = fpath) |>
orbi_simplify_isox() |>
orbi_filter_isox(
filenames = c("s3744"),
compounds = "HSO4-",
isotopocules = c("M0", "34S", "18O")
)
[Package isoorbi version 1.3.1 Index]