Skip to main content
Topic: XCMS plot error (How to fix it) (Read 3255 times) previous topic - next topic

XCMS plot error (How to fix it)

> #xset <- faahKO
> xset
An "xcmsSet" object with 12 samples

Time range: 2506.1-4147.7 seconds (41.8-69.1 minutes)
Mass range: 200.1-599.3338 m/z
Peaks: 4721 (about 393 per sample)
Peak Groups: 0
Sample classes: KO, WT

Peak picking was performed on MS1.
Profile settings: method = bin
                  step = 0.1

Memory usage: 0.713 MB
> xset <- group(xset)
262 325 387 450 512 575
> xset2 <- retcor(xset, family="symmetric", plottype="mdevden")
Retention Time Correction Groups: 133
Error in plot.new() : figure margins too large

Re: XCMS plot error (How to fix it)

Reply #1
What GUI (if any) are you using? I can only reproduce by making the plot windows in RStudio very narrow. That is usually the cause of this error (but in this case it has to be really really narrow it seems).
Blog: stanstrup.github.io