getAllPeakEICs {CAMERA} | R Documentation

## Generate EIC information from raw data

### Description

Generate EIC data out of the raw data, according to the peak peaker information.

### Usage

      getAllPeakEICs(object, index)

### Arguments

`object` | The `xsAnnotate` object
`index` | Sample index vector, with the same length as the number of peaks. Encoding from with sample the peak should be extracted. If all peaks should be generated from the same sample set index = rep(sample index, peak count)

### Details

The function extract from the raw data the EIC curves. Therefore all .netcdf, .mzdata etc. files must be acessable. It returns a list with two item.

### Value

A list with items:

`EIC` | EIC Matrix with rows = number of peaks and columns = maxscans. It contains mostly NA values and only in that part, where a peak had been found, the intensity information.
`scantimes` | Scantimes of each sample

### Author(s)

Carsten Kuhl <ckuhl@ipb-halle.de>

### See Also

`xsAnnotate-class`

### Examples

     library(CAMERA)
     #Multiple sample
     library(faahKO)
     xs.grp       <- group(faahko)

     #create xsAnnotate object
     xsa          <- xsAnnotate(xs.grp)
     #generate pseudospectra
     xsa.group    <- groupFWHM(xsa)

     #calculate correlation
     tmp <- getAllPeakEICs(xsa.group,index=rep(1,nrow(xsa.group@groupInfo)))
     #extract EIC matrix
     EIC.matrix <- tmp$EIC;

[Package CAMERA version 1.50.0 Index]