Hi,
It's always good to post a self-contained code snippet in a question,
so that I can cut&paste to find a solution. I think the trick is to have
a loop around the plotPeaks() to plot the next page of peaks.
That way you can also sort prior to plotting, e.g. by descending intensity
or fitgauss or ...
Hope that helped,
Yours,
Steffen
library(xcms)
file <- system.file('cdf/KO/ko15.CDF', package = "faahKO")
xraw <- xcmsRaw(file)
p <- findPeaks.centWave(xraw, fitgauss=T, verbose=T, sleep=0.001)
plotPeaks(xraw, p, figs=c(8, 4))
for (i in seq(1,nrow(p), by=32)) {
plotPeaks(xraw, p[seq(i,max(i+32, nrow(p))),], figs=c(10, 10))
}