Description Usage Arguments Value Examples
Apply a binning function on a spectrum.
1 2 3 4 5 6 7 8 9 10 11 |
spectra |
Data frame with spectra in columns and chemical shifts in rows. Colnames of this data frame correspond to sample names and rownames to chemical shift grid (in ppm). |
bin |
Numeric value specifying the bin width. |
exclusion.areas |
Definition domain of spectra that have to be excluded of the analysis (ppm). By default, the water region is excluded (4.5-5.1 ppm). |
normalisation |
Logical. If |
low.lim, high.lim |
low and high chemical shift limits for the output bins
(default values : |
ncores |
Number of cores used in parallel evaluation. Default to
|
verbose |
A boolean value to allow print out process information. |
... |
Further arguments to be passed to the function
|
A data frame with normalised spectra in columns and buckets in rows (bucket names correspond to the center of the bucket).
1 2 3 4 | current_path <- system.file("extdata", package = "ASICS")
spectra_data <- importSpectra(name.dir = current_path,
name.file = "spectra_example.txt", type.import = "txt")
spectra_bin <- binning(spectra_data, bin = 0.01, type.norm = "pqn")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.