getAllPeakEICs-methods: Generate EIC information from raw data

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
  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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 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;

CAMERA documentation built on Nov. 8, 2020, 4:59 p.m.