xsAnnotate {CAMERA} | R Documentation

## Constructor for a xsAnnotate object which one assigned xcmsSet object

### Description

This function handles the construction of xsAnnotate object. It is generate from a xcmsSet object adapt its peaktable.

### Usage

      xsAnnotate(xs = NULL,sample=NA,category=NA)

### Arguments

`xs` | a `xcmsSet` object
`sample` | Index of the group xcmsSet sample, that is used for the EIC corelations step.
`category` | Class label, for the class label of a grouped xcmsSet with different classes.

### Value

A `xsAnnotate` object.

### Author(s)

Carsten Kuhl, ckuhl@ipb-halle.de

### See Also

`xsAnnotate-class`

### Examples

     library(faahKO)
     xs <- group(faahko)
     xs_anno <- xsAnnotate(xs, sample=1, category="WT")

[Package CAMERA version 1.0.0 Index]