Skip to main content
Topic: error in .local (object,...):incorrect class labels (Read 5672 times) previous topic - next topic

error in .local (object,...):incorrect class labels

Dear community
I am trying to perform diffreport but the following error appears


> dr <-diffreport (xset3, filebase = 'prevspostA', eicmax=100)
Error en .local(object, ...) : Incorrect Class Labels

Previously, I performed a fillPeaks, which resulted in 11 warnings
Warning messages:
1: In .local(object, ...) :
  getPeaks: Peak  m/z:234.998357973626-235.001159937332,  RT:1809.18-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A11postp.mzXML), using zero intensity value.

2: In .local(object, ...) :
  getPeaks: Peak  m/z:250.96957610142-250.974639727493,  RT:2.4155-38.761is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A11postp.mzXML), using zero intensity value.

3: In .local(object, ...) :
  getPeaks: Peak  m/z:250.96957610142-250.974639727493,  RT:2.4155-38.761is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A11prep.mzXML), using zero intensity value.

4: In .local(object, ...) :
  getPeaks: Peak  m/z:125.984676308764-125.986290845646,  RT:1838.065-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A2prep.mzXML), using zero intensity value.

5: In .local(object, ...) :
  getPeaks: Peak  m/z:234.998357973626-235.001159937332,  RT:1809.18-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A2prep.mzXML), using zero intensity value.

6: In .local(object, ...) :
  getPeaks: Peak  m/z:234.998357973626-235.001159937332,  RT:1809.18-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A3postp.mzXML), using zero intensity value.

7: In .local(object, ...) :
  getPeaks: Peak  m/z:125.984676308764-125.986290845646,  RT:1838.065-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A3prep.mzXML), using zero intensity value.

8: In .local(object, ...) :
  getPeaks: Peak  m/z:125.984676308764-125.986290845646,  RT:1838.065-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A4prep.mzXML), using zero intensity value.

9: In .local(object, ...) :
  getPeaks: Peak  m/z:141.957431855935-141.958776869961,  RT:2.415-40.209is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A5postp.mzXML), using zero intensity value.

10: In .local(object, ...) :
  getPeaks: Peak  m/z:158.000845654609-158.002819629201,  RT:1837.925-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A5prep.mzXML), using zero intensity value.

11: In .local(object, ...) :
  getPeaks: Peak  m/z:234.998357973626-235.001159937332,  RT:1809.18-1861.24is out of retention time range for this sample (/Users/Manuel/Documents/assumpta/exercici tipus A/pre exercici A/A6postp.mzXML), using zero intensity value.


I am using the
R version 2.14.2 (2012-02-29)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

Any advice would be helpful!!
Best wishes

Manuel

Re: error in .local (object,...):incorrect class labels

Reply #1
Are you sure that the class 'prevspostA' exists ?

What is the output of

Code: [Select]
xset3
?

It should show the sample classes that are defined in xset3.

Re: error in .local (object,...):incorrect class labels

Reply #2
Dear Ralf

Many thanks for the prompt answer
As a matter of fact, thanks to the comment, I noticed that I had the two sets of samples to be compared into the same directory. So I moved them into different directories, and the dr command worked excellently.

Thanks a lot!!

Manuel