Skip to main content
Topic: Intermediate steps (Read 4222 times) previous topic - next topic

Intermediate steps

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

Re: Intermediate steps

Reply #1
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,...)

Re: Intermediate steps

Reply #2
Thanks a lot!!  :mrgreen: