Metabolomics Society Forum

Software => R => XCMS => Topic started by: titan100 on March 17, 2016, 12:14:33 PM

Title: XCMS plot error (How to fix it)
Post by: titan100 on March 17, 2016, 12:14:33 PM
> #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
Title: Re: XCMS plot error (How to fix it)
Post by: Jan Stanstrup on May 05, 2016, 08:17:28 AM
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).