xcms
xcms copied to clipboard
Build error and tons of "No data points ... Returning empty spectrum."
Loading required package: GenomeInfoDb
Polarity can not be extracted from netCDF files, please set manually the polarity with the 'polarity' method.
Warning in trimMz_Spectrum(object, mzlim = mz, msLevel. = msLevel., ...) :
No data points between 334.9 and 335.1 for spectrum with acquisition
number 128. Returning empty spectrum.
Warning in trimMz_Spectrum(object, mzlim = mz, msLevel. = msLevel., ...) :
No data points between 334.9 and 335.1 for spectrum with acquisition
number 131. Returning empty spectrum.
Warning in trimMz_Spectrum(object, mzlim = mz, msLevel. = msLevel., ...) :
No data points between 334.9 and 335.1 for spectrum with acquisition
number 132. Returning empty spectrum.
The warnings come from the filterMz (trimMz) function from MSnbase. Everything above is only a warning, so that should not cause a build error.
Seems that the error comes from the estimatePrecursorIntensity which is now also available in the Spectra package. I could fix this quickly if OK.