readFiles: Read and process mulitple data files

Description Usage Arguments Value Author(s) Examples

Description

Apply spectral binning on multiple data files.

Usage

1
2
readFiles(files, dp, scans, sranges = list(c(50, 1000)), modes = c("n",
  "p"), nCores = 1)

Arguments

files

A vector of converted data file paths

dp

An integer denoting the number of decimal places for spectral binning

scans

A vector of scan numbers that should be retrieved

sranges

A list of vectors containing the scan events present.

modes

A vector of strings denoting mode names including the order in which the scan events occur.

nCores

The number of cores on which to parallel process.

Value

A list containing peak lists for the relevant scans with combined scan ranges for each present mode in the data file.

Author(s)

Jasen Finch

Examples

1
2
res <- readFiles(list.files(system.file('mzML',package = 'binneR'),
                 full.names=TRUE),dp = 2,scans = 6:17)

binneR documentation built on May 1, 2019, 6:34 p.m.