sneumann / xcms

This is the git repository matching the Bioconductor package xcms: LC/MS and GC/MS Data Analysis
Other
180 stars 80 forks source link

Fillpeaks - Error in binYonX #519

Open lecorguille opened 3 years ago

lecorguille commented 3 years ago

Hi here,

A thread started on this forum: https://community.france-bioinformatique.fr/t/error-in-fillpeaks/799

The reported error is:

Defining peak areas for filling-in .... OK
Start integrating peak areas from original files
Requesting 751 peaks from T05_05C1.mzXML ... Error in binYonX(mz, int, breaks = brks, fromIdx = fromIdx, toIdx = toIdx,  : 
  'fromIdx' has to be smaller than 'toIdx'!
Calls: fillChromPeaks ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

Have you any idea to help us in the investigation. I catched this related issue: https://github.com/sneumann/xcms/issues/325#issuecomment-448899704

Many thanks

jorainer commented 3 years ago

Uh, that sounds like a weird bug. Without actually looking at the data it is pretty difficult to understand what's happening. If possible it would be cool to get a minimal example/data set on which this error occurrs (e.g. two files and the R code that leads to this error).