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.
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
> 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.
CAMERA 1.9.6 contains a bug fix, which should be available at BioC tomorrow afternoon
Carsten
Thanks - i will give the new version a test!