Description Usage Arguments Author(s) See Also Examples
Plots the results determined by osd
function. Profile or spectra resolution can be selected for visualization.
1 2 | plotOSDres(OSDobj, type = c("eic", "tic", "s"), ncomp = vector(),
comp.spectra = vector(), mztxt.top = 5)
|
OSDobj |
the |
type |
the type of resolution to be plotted. Concentration resolution can be shown by its extracted ion chromatogram (EIC) "eic" or by its ion total chromatogram "tic". Also, the spectra for each compound in the model can be shown by "s". |
ncomp |
vector; the compounds to be plotted. If spectra is selected for visualization, please select only one compound to plot. |
comp.spectra |
a vector to compare a resolved spectra with. |
mztxt.top |
integer; the number of the m/z values ordered by intensity to visualize on the spectra plot |
Xavier Domingo-Almenara. xavier.domingo@urv.cat
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #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")
plotOSDres(resolution, type="tic")
#plot each resolved spectra for compound 1 to 3.
plotOSDres(resolution, type="s",1)
plotOSDres(resolution, type="s",2)
plotOSDres(resolution, type="s",3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.