osd {osd} | R Documentation |
Orthogonal Signal Deconvolution
Description
Wrapper to use OSD, or OSD along with ICA (ICA-OSD), MCR (MCR-OSD), and also ICR.
Usage
osd(D, k, y.profile,
res.method = c("ica.osd", "osd", "icr", "mcr"),
comp.coef = 2, noise.thr = 0.01)
Arguments
D |
data matrix, where rows are the retention time and columns are the m/z. |
k |
number of components in the model, i.e., the number of compounds to be extracted from data. (Only when methods ICA-OSD, MCR or ICR are used.) |
y.profile |
the vector containing the estimated elution profile of the compound which spectrum wants to be deconvolved. (Only when method OSD is used.) |
res.method |
the method to be used, including "ica.osd","mcr.osd","icr","mcr". See details for more information. |
comp.coef |
the non-linear factor of compression. See details for more information. |
noise.thr |
this value can be set from 0 to 1. Data in D under this relative threshold is set to zero to reduce the computational cost. Default is 0.01. |
Details
The methods are described in [1] and [2] (See references below). OSD is an improved method for spectra extraction from chromatographic data tested in GC-MS and GCxGC samples.
For tradicional multivariate curve resolution select "mcr" algorithm. Indepenent component regression is also implemented, and can be selected by choosing "icr" method. The OSD implementations using ICA can be used by "ica.osd". Also, OSD can be used alone, for retrieving a purest spectrum if the estimated elution profile of the compound (which spectrum is to be deconvolved) is given.
Value
osd
returns an S3 object.
data |
the original data matrix. |
C |
the resolved profile or concentration matrix. |
S |
the resolved spectra matrix. |
k |
the number of components used in the model. |
y.profile |
the estimated elution profile for OSD. |
res.method |
the method used for resolution. |
comp.coef |
the non-linear compression coeficient selected. |
noise.thr |
the noise threshold selected. |
Author(s)
Xavier Domingo-Almenara. xavier.domingo@urv.cat
References
[1] Domingo-Almenara X, et al. Compound deconvolution in GC-MS-based metabolomics by blind source separation. Journal of Chromatography A (2015). Vol. 1409: 226-233. DOI: 10.1016/j.chroma.2015.07.044
[2] Domingo-Almenara X, et al. Automated resolution of chromatographic signals by independent component analysis - orthogonal signal deconvolution in comprehensive gas chromatography/mass spectrometry-based metabolomics. Computer Methods and Programs in Biomedicine (2016). DOI: 10.1016/j.cmpb.2016.03.007:
See Also
osd
, plotOSDres
, gcms1
, gcms2
Examples
#load GC-MS sample data, containing three different metabolites
#appearing in co-elution.
data(gcms1)
#resolve the situation using ICA-OSD algorithm
resolution <- osd(D=gcms1, k=3, res.method='ica.osd')
#plot the resolution, the extracted ion chromatogram (m/z) are plotted in
#grey whereas the profile matrix appear in color.
plotOSDres(resolution, type='eic')
#plot each resolved spectra for compound 1 to 3.
plotOSDres(resolution, type='s',1)
plotOSDres(resolution, type='s',2)
plotOSDres(resolution, type='s',3)