Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - lawalo

1
CAMERA / plotPsSpectrum error
Hi Everyone,

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
2
XCMS / using plotPeaks to plot selected peaks
Hi all,

I used plotPeaks to plot my xraw but it is only showing for the first few m/z. How do I set it to plot a peak that I am interested in.

This is what I use: mypeaks = findPeaks.matchedFilter(xraw, snthresh=10, step=0.1, steps=2))
                            plotPeaks(xraw, mypeaks, figs=c(2, 2))

Thanks for your help in advance.

Sola