Description Usage Arguments Details Value Author(s) Examples
View source: R/ZoneAggregation.R
The function replaces the values given in specified intervals by triangular shaped peaks with the same area than the original peaks.
1 | ZoneAggregation(Spectrum_data, fromto.za = list(Citrate = c(2.5, 2.7)), verbose = FALSE)
|
Spectrum_data |
Matrix containing the spectra in ppm, one row per spectrum. |
fromto.za |
List containing the borders in ppm of the intervals to aggregate. |
verbose |
If |
The interval is specified in the unit of the column names (which should be ppm). This aggregation is usually performed with urine samples that contains citrate.
Spectrum_data |
The matrix of spectra with their zone aggregated. |
BenoƮt Legat & Manon Martin
1 2 3 | require(PepsNMRData)
Spectrum_data <- ZoneAggregation(Data_HU_sp$Spectrum_data_HU_12,
fromto.za = list(Citrate =c(2.5, 2.7)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.