xcms icon indicating copy to clipboard operation
xcms copied to clipboard

Error in .local(object, ...) : xcmsSource: file not found: NA

Open wanglai786 opened this issue 5 years ago • 2 comments

When I used xcms to group or fillpeaks my data, some error messages happened.Hope someone can help me,thanks a lot

xs= group(xs, bw=5, mzwid=0.025) Processing 75955 mz slices ... OK xs2= retcor(xs, method= 'obiwarp') center sample: M1901502 Processing: NA Create profile matrix with method 'bin' and step 1 ... OK Error in .local(object, ...) : xcmsSource: file not found: NA xs2= group(xs2, bw=5, mzwid=0.025) Error in h(simpleError(msg, call)) : 在为'group'There was an error evaluating the 'object' argument when the function selected the method: object 'xs2' not found xs3= fillPeaks(xs2) Error in h(simpleError(msg, call)) : 在为'fillPeaks'There was an error evaluating the 'object' argument when the function selected the method': object 'xs2' not found View(xs) Error in if (more || nchar(output) > 80) { : missing value where TRUE/FALSE needed Error: no more error handlers available (recursive errors?); invoking 'abort' restart

wanglai786 avatar Sep 02 '20 09:09 wanglai786

Please don't use the old functions (xcmsSet, group etc) anymore. Try to update the workflow to the new functions and objects shown here.

The first error message xcmsSource: file not found: NA tells you that one of your files was not found. Did you move the original files? But again, with the old user functions debugging is much harder.

jorainer avatar Sep 02 '20 09:09 jorainer

Is this issue now solved? Please close if so @wanglai786

jorainer avatar Oct 16 '20 06:10 jorainer