Skip to main content
Topic: diffreport fails to generate EIC and stops -- Error in profEIC  (Read 3826 times) previous topic - next topic

diffreport fails to generate EIC and stops -- Error in profEIC

I am currently experiencing a problem I have never encountered before while using diffreport. This is the error I get and I do not quite understand what it means:

Code: [Select]
Error in profEIC(object, mzrange = mzrange, rtrange = rtrange, step = step) : 
  'mzrange' number 9 (0, 368.159214087178) is outside of the mz value range of 'object'

This is the code that I use:

Code: [Select]
report <- diffreport(object = xset, 
                       class1 = "KO",
                       class2 = "WT",
                       filebase = "diffreport", eicmax = 50,
                       sortpval = TRUE,
                       metlin = 0.5, mzdec = 4)


When I change eicmax and set it to
Code: [Select]
eicmax = 5
, the code works and I have no problem. But I do not understand why it fails to work with 50.

Re: diffreport fails to generate EIC and stops -- Error in profEIC

Reply #1
Looks like it has found a feature with mz between 0 and 368... That sounds like a bug. There was some recent fixes to something similar. Perhaps try to update from github and post your version.
Blog: stanstrup.github.io