Closed lecorguille closed 7 years ago
Hi, it is not so much the inf-inf ,
> xs <- xcmsSet(system.file("microtofq/MM8.mzML", package="msdata"), method="centWave", ppm=25, peakwidth=c(20, 50))
Detecting mass traces at 25 ppm ... OK
Detecting features in 22 regions of interest ... FAIL: none found!
Warning messages:
1: In .centWave_orig(mz = mz, int = int, scantime = scantime, valsPerSpect = valsPerSpect, :
No peaks found!
2: In xcmsSet(system.file("microtofq/MM8.mzML", package = "msdata"), :
No peaks found in sample MM8.
the underlying cause is that there are no peaks. So rather than checking the RT range,
I would recommend to check nrow(peaks(xs))
Thanks @sneumann Done: https://github.com/workflow4metabolomics/xcms/pull/46/files
Tested and validated !
https://github.com/workflow4metabolomics/xcms/issues/2#issuecomment-282287927
Example:
Optained with