annotate: Annotate eSet or probesets

annotateR Documentation

Annotate eSet or probesets

Description

The function annotates an object of eSet, or a vector of characters representing probesets.

Usage

annotate(object, target, check.target, ...)

Arguments

object

An object of eSet, or a character vector of probesets

target

Chip type to be annotated

check.target

Logical, with FALSE as default. If set to TRUE, before looking up the annotations, it first check whether target is one of the valid chip types supported by GTI, and stops if it is not the case.

...

Currently not implemented

Details

Once successfully annotated, the annotation slot of the eSet object is set to the value of target.

Value

An eSet, or a data.frame containing annotation information of the probesets.

Author(s)

Jitao David Zhang <jitao_david.zhang@roche.com>

Examples


data(ribios.ExpressionSet)
myset <- ribios.ExpressionSet[100:105,]

## eSet
## Not run: 
annotate(myset, "HG_U95AV2")
annotate(myset, "HG_U_95AV2", check.target=TRUE)

## End(Not run)

## characters
## Not run: 
annotate(featureNames(myset), "HG_U95AV2")

## End(Not run)


bedapub/ribiosExpression documentation built on Sept. 2, 2023, 4:37 a.m.