Learn R Programming

CAMERA (version 1.28.0)

getAllPeakEICs: 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)

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

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.

See Also

xsAnnotate-class

Examples

Run this code
 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;

Run the code above in your browser using DataLab