Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - Biesterfeld

1
XCMS / Again getEIC(): Is it supposed to work like this
Hey there,

I had already a couple of weeks ago some issues with getEIC() (see http://http://www.metabolomics-forum.com/viewtopic.php?f=8&t=384) but since my new problem has nothing to do with that I opened a new topic.

I have an xcmsSet (centWave peak-picked, orbiwarp RT-corrected, grouped, and peaks filled) where two peak groups have a very low m/z difference around 0.0441 and same peak shapes but different abundances and apeces:

Code: [Select]
> groups( xset )[98:99, ]
        mzmed    mzmin    mzmax rtmed rtmin rtmax npeaks B_Cal D_Cal
[1,] 115.0867 115.0867 115.0868 64.23 63.65 64.75      6    3    3
[2,] 115.1308 115.1293 115.1309 64.62 64.61 64.81      6    3    3
> pks <- peaks( xset )[ unlist( xset@groupidx[ 98:99 ] ), c(1:6,9) ]
> pks
            mz    mzmin    mzmax    rt rtmin rtmax      maxo
 [1,] 115.0868 115.0864 115.0870 63.66 52.62 75.72 631219.562
 [2,] 115.0867 115.0861 115.0870 64.75 52.65 75.22 505789.812
 [3,] 115.0867 115.0864 115.0868 64.62 52.62 75.66 433946.500
 [4,] 115.0868 115.0864 115.0869 63.65 48.54 78.77 513818.281
 [5,] 115.0868 115.0864 115.0869 63.84 53.44 75.68 453958.312
 [6,] 115.0867 115.0866 115.0868 64.62 52.56 75.66 397969.844
 [7,] 115.1308 115.1306 115.1310 64.62 59.64 68.64  19231.410
 [8,] 115.1309 115.1303 115.1311 64.75 54.72 71.49  14101.018
 [9,] 115.1293 115.1292 115.1294 64.62 59.64 69.66  9610.525
[10,] 115.1309 115.1308 115.1310 64.61 60.59 68.64  15007.605
[11,] 115.1308 115.1307 115.1309 64.81 59.08 69.64  12008.001
[12,] 115.1308 115.1306 115.1309 64.62 59.64 69.66  10699.456

However, getEIC seams obviously to not resolve those peaks:
Code: [Select]
plot( getEIC( xset, group = 98 ) )
plot( getEIC( xset, group = 99 ) )
[attachment=1:24zorgyy]eics.png[/attachment:24zorgyy]

Even if I specify the mzrange explicitly the mass traces are not resolved:
Code: [Select]
plot( getEIC( xset, mzrange= pks[ 1:6, 2:3 ] , rtrange = pks[ 1:6, 5:6 ] ) )
plot( getEIC( xset, mzrange= pks[ 7:12, 2:3 ] , rtrange = pks[ 1:6, 5:6 ] ) )
[attachment=0:24zorgyy]eic2.png[/attachment:24zorgyy]

Is it something I am doing wrong or is getEIC just supposed to work like this?

Many thanks in advance,
Isam

[attachment deleted by admin]
2
XCMS / How does "step" influence the result of getEIC?
Hey there,

I am playing around with getEIC on xcmsRaw objects and do not really understand the step parameter.

In the beginning I ignored this parameter completely and let it set to its default (0.1). But then I realized that although I provided mz ranges with a width of about 10-35 ppm, getEIC extracted mass traces within a much broader range. So I lowered the step parameter to 0.0001. However, now I get again strange results as indicated by the three ion chromatograms:

[attachment=2:3tprx2vu]eic1.png[/attachment:3tprx2vu][attachment=1:3tprx2vu]eic2.png[/attachment:3tprx2vu][attachment=0:3tprx2vu]eic3.png[/attachment:3tprx2vu]

So my question is, what happend to the second and third EIC (30ppm/35ppm, step = 0.0001) and why? To which value should I set the step size? Would be something like 0.1*(mzmax - mzmin) a robust value?

Many thanks
Isam

[attachment deleted by admin]
3
Compound identification / Rdisop: Isotope patterns of labeled compounds
Hey there,

hopefully this question is placed correctly on this board. I am programming a targeted analysis for 13C-labeled metabolites using xcms. For the calculation of the accurate masses to look for I wanted to use Rdisop. However, since this library considers only natural isotope distributions, the accurate masses of labeled compounds occurring naturally at very low abundances are not calculated. A short example calculating the accurate mass of a fully 13C-labeled Glucose demonstrates this:

Code: [Select]
> library( "Rdisop" )
> getIsotope( getMolecule( "C6H12O6" ), 7 )
[1] 186.0774    2.678176e-07

H1  <- 1.007825032
C13 <- 13.00335484
O16 <- 15.99491462

6*C13 + 12 * H1 + 6 * O16
[1] 186.0835

Obviously, the mass should be 186.0835u and not 186.0774u (difference around 30ppm). I assume, that the calculated mass results from a mix of naturally occurring 12C/13C + 16O/18O since the calculated abundance (2.7e-07) is also magnitudes larger than the one of a naturally occurring [13C]6[1H]12[16O]6 which should be 6.4e-10.

My question is if anyone can give me a hint how to calculate the accurate masses for isotopic labeled compounds using Rdisop? The isotope distribution seams to be hard coded in initializePSE(). Is there any hook, to which I could provide an alternative isotope distribution?

Many thanks in advance
Isam
4
CAMERA / Compounds containing Cl, Br or S
Hey there,

my question concerns the findIsotopes() function. I have analyzed a set of LC/MS qTOF samples containing only a few number of compounds. One of it is Diclofenac (C14H11Cl2NO2, accurate mass 295.0167). groupFWHM() finds its Pseudospectrum perfectly:
[attachment=0:3f8rglrr]diclofenac.png[/attachment:3f8rglrr]

However, since Diclofenac contains Cl there is a prominent [M+2] peak in all adducts, which fails to be annotated correctly by calling findIsotopes( xsa.grouped, ppm=5, mzabs=0, maxcharge=3, maxiso=4 ). Instead of one Isotope cluster, I'll get three:
Code: [Select]
mz	iso
---------------------------
296,0239 [301][M]+
297,0252 [301][M+1]+
298,0210 [302][M]+
299,0238 [302][M+1]+
300,0184 [303][M]+

As far as I understood, CAMERA applies a C12/C13-Model only. In turn, any isotopes of compounds containing Cl, Br and S, will not be clustered correctly. Are there any suggestions how to improve the annotation?

Many thanks!

[attachment deleted by admin]