Metabolomics Society Forum

Software => R => XCMS => Topic started by: kbz6 on July 01, 2014, 12:28:16 AM

Title: Comparing XCMS batch version to XCMSonline
Post by: kbz6 on July 01, 2014, 12:28:16 AM
I just downloaded XCMS from bioconductor and ran it according to the 'LC/MS Preprocessing and Analysis with xcms'.  I had previously run the files I used for my test set in XCMSonline and I get very different outputs from the two methods. Specifically XCMSonline gives about 18,000 peaks where as the downloaded version gives 3,000.  I ran both with their default parameters except I changed both 'full width at half maximum' parameters to match my chromatography.  I was wondering if someone might be able to suggest a reason for this significant disparity.

Thanks for the help.
Title: Re: Comparing XCMS batch version to XCMSonline
Post by: LauraShireman on July 02, 2014, 01:59:33 PM
I might be able to help. I've experienced something similar and found that there was filtering going on when I wasn't expecting it in the group() command. If you include your code as well as what parameter settings you used online, I might be able to help.
Title: Re: Comparing XCMS batch version to XCMSonline
Post by: kbz6 on July 08, 2014, 09:19:09 PM
Here is the r code I use:

raw_data_path = 'data_path'
raw_data = list.files(raw_data_path, recursive = TRUE, full.names = TRUE)
xset <- xcmsSet(raw_data, fwhm = 2)
xset <- group(xset)
xset2 <- retcor(xset, family = "symmetric")
xset2 <- group(xset2, bw = 10)
xset3 <- fillPeaks(xset2)
mydata = groupval(xset3, value="into")
write.csv(mydata, file = 'file_name)

In online xcms I started from the HPLC / Waters TOF parameter set and changed the following parameters:
ppm = 10
min peak width = 6
max peak width = 20

Thanks for your help
Title: Re: Comparing XCMS batch version to XCMSonline
Post by: hpbenton on July 17, 2014, 02:37:30 PM
Kbz6,

On XCMS Online you can see what parameters you have used by viewing the parameter set or after the job is completed looking at the log file. The parameters below do not match the default XCMS Online Waters TOF parameter set. However, you may have changed these parameters. I would need the parameter id to know more specifically.

Cheers,

Paul
Title: Re: Comparing XCMS batch version to XCMSonline
Post by: aron11 on October 23, 2014, 10:38:46 PM
Thanks for share…

http://braindumps.com/CCNA-Voice.htm (http://braindumps.com/CCNA-Voice.htm)   
http://arm.com/ (http://arm.com/)   
http://rockefeller.edu/ (http://rockefeller.edu/)   
http://en.wikipedia.org/wiki/ASQ (http://en.wikipedia.org/wiki/ASQ)   
https://facebook.com/iscsport (https://facebook.com/iscsport)   
http://youtube.com/user/CIPSuOttawa (http://youtube.com/user/CIPSuOttawa)