Skip to main content
Topic: How to save xcmsSet object from workspace (Read 3101 times) previous topic - next topic

How to save xcmsSet object from workspace

I am using R 3.2.0 and xcms 1.46.0 version for analysis of metabolomics dataset. I wish to know how can one save the xcmsSet data created in work space. I wish to use this xcmsSet data for running other software's.

Thanks,
Manohar

Re: How to save xcmsSet object from workspace

Reply #1
To save your whole workspace use save.image(). To save only the xcmsSet object use save or saveRDS.

Probably what you want though is a peak table. For that you use peakTable and save that table for example with write.csv.
Blog: stanstrup.github.io