Skip to main content
Metabolomics Society Forum
Topic: How to save xcmsSet object from workspace
(Read 399 times)
Joined: 11 May, 2017
How to save xcmsSet object from workspace
November 16, 2017, 05:02:22 AM
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.
Joined: 07 February, 2012
Re: How to save xcmsSet object from workspace
November 17, 2017, 02:05:02 AM
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.
University of Copenhagen, Denmark
powered by ElkArte 1.0.7
SimplePortal 1.0.0 Beta 1 © 2008-2014