Description Usage Arguments Value See Also Examples
Import preprocessed spectra from Bruker files contained in a single folder. This folder contains one subfolder for each sample. (optional) Spectra are baseline corrected, aligned and normalised by the area under the curve during the importation.
1 2 3 4 5 6 7 8 | importSpectraBruker(
name.dir,
which.spectra = "first",
ppm.grid = NULL,
sample.names = NULL,
ncores = 1,
verbose = TRUE
)
|
name.dir |
Path of the folder containing one subfolder by sample. Each subfolder contains the Bruker files of this sample. |
which.spectra |
If there is no folder with experiment number
( |
ppm.grid |
Numeric vector of a unique grid (definition domain) for all
spectra (in ppm). Default to |
sample.names |
Character vector of sample names. Default to |
ncores |
Number of cores used in parallel evaluation. Default to
|
verbose |
A boolean value to allow print out process information. |
A data frame with spectra in columns and chemical shifts (in ppm) in rows.
1 2 | current_path <- system.file("extdata", "example_spectra", package = "ASICS")
spectra_data <- importSpectraBruker(current_path)
|
|
| | 0%
|
|=================================== | 50%
|
|======================================================================| 100%
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.