Presentation is loading. Please wait.

Presentation is loading. Please wait.

XCMS Analyte Profiling Software Tutorial

Similar presentations


Presentation on theme: "XCMS Analyte Profiling Software Tutorial"— Presentation transcript:

1 XCMS Analyte Profiling Software Tutorial
This tutorial uses the FAAH data, downloaded from the XCMS homepage ( to lead the user through each step of xcms. 7 simple commands for one complete XCMS data analysis library(xcms) xset <- xcmsSet() xset <- group(xset) xset2 <- retcor(xset, family="s", plottype="m") xset2 <- group(xset2, bw =10) xset3 <- fillPeaks(xset2) reporttab <- diffreport(xset3, "WT", "KO", "example", 10, metlin = 0.15)

2 Open R, load xcms User input is shown in red

3 Go to File toolbar at the top of R, choose Change dir…,
and select the folder containing the .cdf files

4 Upload data files xset is a user defined object name Upload data files completed

5 Check loaded data; this step is optional and does not affect data analysis.

6 Group peaks (without visualization)

7 Or add sleep = .001 to the group command for grouping peaks with visualization

8 Grouping shown as plots

9 Retention time correction
The retcor command can either be typed out completely i.e. using family = “symmetric”, plottype = “mdevden” or simply as family = “s”, plottype = “m”. Note: the object name ‘xset2’ is used here, so that the original xset will not be overwritten.

10 Regroup data after retention time correction

11 Fill in with original data where peaks were not detected initially.
Note: the object name xset3 is used here, so that xset2 and xset will not be overwritten.

12 Check current data status; this step is optional and does not affect data analysis.

13 Create report: “WT” and “KO” denote the class names of the data sets being compared “example” is a user defined output file name for the spreadsheet report 10 is a user defined number of extracted ion chromatograms (EIC) that will be plotted metlin = 0.15 specifies the m/z tolerance for potential metabolite matches from the METLIN database

14 Both the EICs and spreadsheet report (as a TSV file) are created in the
same folder where the raw data are stored

15 EICs can also be visualized in many picture viewing programs
Inside the EIC folder. EICs can also be visualized in many picture viewing programs

16 Spreadsheet “example” opened in Excel

17 Type ? before the function name to retrieve documentation immediately
i.e. ?retcor will bring up the retention time correction documentation page.

18 All the functions and classes are documented and are available from R under Help > Html help > Packages > xcms.

19 A detailed description of XCMS is available for download in the Documentation section


Download ppt "XCMS Analyte Profiling Software Tutorial"

Similar presentations


Ads by Google