1
CAMERA / plotPsSpectrum error
Just wondering if anyone has encountered an error while trying to plot a pseudospectra. plotEICs works just fine but plotPsSpectrum does not. The codes and error are posted below. Thanks in advance
xset6 = xsAnnotate(xset5)
xset7 = groupFWHM(xset6, perfwhm = 0.6)
xset8 = groupCorr(xset7, cor_eic_th=0.75, pval=0.05, calcCiS = TRUE)
xset9 = findIsotopes(xset8)
xset10 = findAdducts(xset9, polarity="positive")
plotEICs(xset10, pspec=6, maxlabel=5)
plotPsSpectrum(xset10, pspec=6, maxlabel=5)
Error in if (!is.numeric(index) && index > length(sampnames(xs)) | index < :
missing value where TRUE/FALSE needed
Cheers,
Mike