Metabolomics Society Forum

Software => R => XCMS => Topic started by: lixiyan on March 20, 2012, 10:46:37 AM

Title: Wrap XCMS dataset in a package?
Post by: lixiyan on March 20, 2012, 10:46:37 AM
Hi,
I was wondering if there is an R utility to wrap XCMS datasets in a package? Something like the FaaKO datasets in XCMS installation. This package would be portable and convenient for my collaborators to do followup stat analysis.

thanks,
Xiyan
Title: Re: Wrap XCMS dataset in a package?
Post by: Ralf on March 20, 2012, 11:12:47 AM
There is no such utilitly. But you can simply save your xcmsSet into an R data file.
Code: [Select]
xs <- xcmsSet(...)
save(xs, file="xs.rdat")
and later it can be restored using
Code: [Select]
load("xs.rdat")
By the way, XCMS Online offers a feature that allows you to share your data with your collaborators.
Title: Re: Wrap XCMS dataset in a package?
Post by: lixiyan on March 20, 2012, 11:20:36 AM
Ralf,
Thanks for the quick reply. I did save the xcmsSet the way you said but didn't realize it could be used that way.

best,
Xiyan