cali | R Documentation |
Chemical shift calibration with a reference signal.
cali(X, ppm, type = c("tsp"))
X |
num matrix, NMR data matrix with rows representing spectra and columns representing chemical shift position |
ppm |
num vector, matched to columns of X |
type |
str or num. Str: Either 'tsp' or 'glucose' for urine or blood-derived spectra, respectively (see Details). Num: ppm range of max height signal that will be used to reference to zero |
Spectral calibration to a selected chemical shift reference signal.
type='tsp'
: calibration to 0 ppm using the highest peak located in interval 0 +/- 0.20 ppm (Trimethylsilylpropanoic acid resonance)
num matrix X, calibrated NMR data matrix.
torben.kimhofer@murdoch.edu.au
Dona, A.C., et al. (2014) Precision high-throughput proton NMR spectroscopy of human urine, serum, and plasma for large-scale metabolic phenotyping. Analytical Chemistry. 86.19. 9887-94.
Other preproc:
bl()
,
preproc()
,
read_in()
read_in(path = system.file('extdata',package='concentr8r'), exp_type = list(exp=c("PROF_URINE_NOESY")), n_spec = 'multiple') plot(ppm, X[2,], type = 'l', col = 'red', main = 'NMR Spectra (Processed vs. Non Processed)', xlab = 'Chemical Shift (ppm)', ylab = 'Intensity', xlim = c(10,-1)) Xc=cali(X, ppm, type='tsp') points(ppm, X[2,], type = 'l', col = 'blue') legend('topleft', legend = c("Uncalibrated", "Calibrated"), col = c('red', 'blue'), lty = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.