ASICS_multiFiles: Automatic Statistical Identification in Complex Spectra for...

Description Usage Arguments Value See Also Examples

View source: R/ASICS_multiFiles.R

Description

Compute ASICS on multiple spectra of a folder.

Usage

1
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

1
2
3
4
5
6
7
## 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)

## End(Not run)

ASICS documentation built on Jan. 23, 2018, 5:51 p.m.