Learn R Programming

ASICS (version 1.0.1)

ASICS_multiFiles: Automatic Statistical Identification in Complex Spectra for many files

Description

Compute ASICS on multiple spectra of a folder.

Usage

ASICS_multiFiles(name.dir, ncores = 1, ...)

Arguments

name.dir

folder path of the Bruker files

ncores

number of cores to use. Default to 1 (no parallel processing)

...

further arguments to be passed to the function ASICS for specifying the parameters of the algorithm

Value

A list containing ASICS results for each spectrum.

See Also

ASICS, resASICS-class pure_library

Examples

Run this code
# NOT RUN {
cur_path <- system.file("extdata", "example_spectra", package = "ASICS")
to_exclude <- matrix(c(4.5,5.1,5.5,6.5), ncol = 2, byrow = TRUE)
res_multi <- ASICS_multiFiles(name.dir = cur_path,
                              exclusion.areas = to_exclude)
# }

Run the code above in your browser using DataLab