View source: R/loading_functions.R
orbi_filter_isox | R Documentation |
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.
orbi_filter_isox(
dataset,
filenames = NULL,
compounds = NULL,
isotopocules = NULL,
time_min = NULL,
time_max = NULL
)
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 ( |
Filtered tibble
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")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.