Metabolomics Society Forum

Software => R => XCMS => Topic started by: Ricca on July 23, 2011, 06:46:04 AM

Title: Intermediate steps
Post by: Ricca on July 23, 2011, 06:46:04 AM
Hi, is there a way to save the intermediate steps of the xcms pipeline?? Could be very helpful since some operations (xcmsSet, retcor.. ) are very long and time-consuming.

Best
Riccardo
Title: Re: Intermediate steps
Post by: Ralf on July 23, 2011, 11:24:56 AM
Just save the object into a file.
e.g.

STEP1_DATA_FILE="xcmsSet_1.rdat"

xs <- xcmsSet(...)
save(xs, file=STEP1_DATA_FILE) ## save xs

...

load(STEP1_DATA_FILE) ## load xs

xs2 <- group(xs,...)
Title: Re: Intermediate steps
Post by: Ricca on July 25, 2011, 05:22:19 AM
Thanks a lot!!  :mrgreen: