Skip to main content

Topic: How to save xcmsSet object from workspace (Read 89 times) previous topic - next topic

  • manohar.dange
  • [*]
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
  • Dr

  • Jan Stanstrup
  • [*][*][*][*][*]
  • Administrator
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.
  • Steno Diabetes Center Copenhagen, Denmark
Blog: stanstrup.github.io