Learn R Programming

cosmiq (version 1.6.0)

eicmatrix: Generate matrix of combined extraced ion chromatograms (EICs)

Description

for each selected mass window, eicmatrix calculates EICs of every raw file and combines them together. It is recommended to correct the retention time first using retcor.obiwarp

Usage

eicmatrix(xs, xy, center)

Arguments

xs
xcmsSet object
xy
table including mz location parameters
center
file number which is used as a template for retention time correction

Details

For each detected mass, an extracted ion chromatogram (EIC) is calculated. In order to determine the elution time for each detected mass, the EICs of every mass are combined between all acquired runs.

Make sure that xcms-retention time correction (centwave) was applied to the dataset. The output will be a matrix of EIC's

Examples

Run this code
      ## Not run: 
#     #  see package vignette section 
#     # 'Generation and combination of extracted ion chromatograms'
#     xs<-create_datamatrix(xs=xs, rxy=rxy)
#       ## End(Not run)

Run the code above in your browser using DataLab