Skip to main content
Topic: plot EIC error (Read 6079 times) previous topic - next topic

plot EIC error

I am receiving an error frequently when trying to plot the EICs for selected pseudospectra:

Error in pks[, 1] : incorrect number of dimensions

This happens for certain pSpectra groups, only for the plotEICs function, not the plotPsSpectrum function.

Re: plot EIC error

Reply #1
Hi,

thanks for reporting. Could you specify the CAMERA version and the give an code example?
Did you plot only one pseudospectra or more?

Carsten

Re: plot EIC error

Reply #2
> plotEICs(an4, pspec=1000, maxlabel=10)
Error in pks[, 1] : incorrect number of dimensions

> packageVersion("CAMERA")
[1] ‘1.9.3’

> an4
An "xsAnnotate" object!
With 2237 groups (pseudospectra)
With 84 samples and 9528 peaks
Using automatic sample selection
Annotated isotopes: 251
Memory usage: 134 MB

Thanks for looking into it. I get the impression that this error occurs most frequently when there are few (or only one) features in a particular pseudospectrum group.

Re: plot EIC error

Reply #3
CAMERA 1.9.6 contains a bug fix, which should be available at BioC tomorrow afternoon

Carsten

Re: plot EIC error

Reply #4
Thanks - i will give the new version a test!