Apply spectral binning on multiple data files.
Value
A list containing peak lists for the relevant scans with combined scan ranges for each present mode in the data file.
Details
Parallel processing is managed by the future package. This can
be specified using the plan() function. See the example below
and ?future::plan for details on how this can be specified.
Examples
## Example file path
file_paths <- system.file('example-data/1.mzML.gz',package = 'binneR')
## Optionally declare parallel processing backend
# plan(future::multisession,workers = 2)
## Process example file
res <- readFiles(file_paths,
dp = 2,
scans = detectInfusionScans(file_paths))