Closed CLechaplais closed 3 years ago
Just to be sure that I understand: you want to do a chromatographic peak detection on MS2 data and then perform a correspondence analysis grouping these MS2 chromatographic peaks? I'm just confused, because for the second example you perform the chromatographic peak detection on MS1 data.
I have actually never tried that before, but if you want to do a correspondence analysis of MS2 chromatographic peaks you should also specify msLevel = 2L
in the groupChromPeaks
call.
For the second problem: the xcmsSet
has only very limited support for MS > 1 data, thus it is at present not possible to convert a XCMSnExp
with MS1 and MS2 data to a xcmsSet
.
Oh, yes I did a mistake concerning the 2nd example, I did MS1 peak detection. I just quickly tried to do centWave msLevel=2 on these and can't detect peaks.
In fact, I want to integrate MS2 peaks for few mz across many samples. We've got isomeres coeluting exactly at the same time but giving different MS2 EICs. So, if we want to be able to measure the quantity of the one we're interested with we need to get the area for the MS2 fragment peaks. That's why since many days, studying xcms pdf, MSnbase pdf and different topics I try to find a way to do that. I thought about doing quite my usual xcms pipeline for that in order to finally get a diffreport with the integrated area values for the MS2 chromatographic peaks for all our samples.
I already have tried to specify msLevel = 2L in the groupChromPeaks but I get an error message :
resultsCW_group1 <- groupChromPeaks(resultsCW, param=pdp, msLevel=2L) Error in .local(object, param, ...) : Currently only peak grouping on MS level 1 is supported
I asked to our system team to install a more recent R version on our servers, now I got r/4.0.2 and it solved my issue with msLevel=2L while calling groupChromPeaks.
Closing this issue now - feel free to re-open if needed @CLechaplais
Hello, I would like to use quite my usual xcms pipeline in order to get a diffreport for the ms2 data. I get 2 different problems.
--First one I can't use the groupChromPeaks function after using centWave on MS2 level. I get a message error :
"Error in peaks[1, "mz"] : indice hors limites De plus : Warning messages: 1: In max(peaks[, "sample"]) : aucun argument pour max ; -Inf est renvoyé 2: In min(x) : aucun argument trouvé pour min ; Inf est renvoyé 3: In max(x) : aucun argument pour max ; -Inf est renvoyé"
Here what I do, it is my usual xcms pipeline set with modified values to be sure to get my ms2 signal :
Then I'm sure I've got my ms2 detection for the mz I'm looking for :
But when I try to follow my usual xcms pipeline with peakgrouping :
I've tried this pipeline with the "TripleTOF-SWATH/PestMix1_DDA.mzML" data and it works well, so I guess I'm doing something wrong with my own data.
--Second problem (using the "TripleTOF-SWATH/PestMix1_DDA.mzML" data this time in order to check if my pipeline works) I can't convert my XCMSnExp object into a xcmsSet one in order to create a diffreport.
Are there some solutions to my both problems please?
Thanks
Christophe