we had a closer look into the raw data and may have found the origin of the problem:
Measurements were made with a LC/FTICR-MS system (LC coupled to Thermo LTQ FT Ultra) which produces data with quiet a high resolution. In the raw-files with the high intensities is a very small peak, therefore not found by findPeaks. Unfortunately nearby (~60ppm and same RT) is a high peak which is later filled in by fillPeaks. That led to the clue that the step-width of fillPeaks was to wide. Since step is taken from the xcms-object we added profparam = list("step" = 0.01) to the xcmsSet-parameters. Now fillPeaks looks in a more narrow mz-slice and, as far as we can say, chooses the right peak.
best regard
PS: that also benefits EIC-diagrams which are more accurate now :-)
How do I get rtmin and rtmax values (raw as well as corrected) for a specific peak? I know that there are columns for rtmin and rtmax in xcmsSet@peaks. Are those raw or corrected RTs? I also know that there are xcmsSet@rt$raw and xcmsSet@rt$corrected values but I dont know how to link those values to a peak neither how to get rtmin and rtmax from those values. It also seems that in xcmsSet@rt are less values than peaks.
As for xcms settings I build the xcmsSet as follows: xset <- xcmsSet(...) xset <- retcor(xset, method = "obiwarp") xset <- group(xset,...) xset <- fillPeaks(xset)
I have a question regarding fillPeaks(). Do the intensities coming from fillPeaks have a SN-value of NA? I'm asking because when I look at my data I have a lot of NA's in my SN column and I want to avoid them since the method xcmsSet should identify most of my peaks. When I look at the EIC-diagrams there are very clear peaks but a lot of them come (as I think) from fillPeaks and not from xcmsSet-method.
I'm using the following parameters: xset <- xcmsSet(method='centWave', ppm=15, peakwidth=c(30,120), snthresh=100, prefilter=c(3,10000), mzCenterFun="wMean", integrate=1, mzdiff=-0.001, fitgauss=TRUE, verbose.columns=TRUE, nSlave=4) Second question would be: Which parameters should i change to get more Peaks from xcmsSet or to get more SN-values which are not NA?