Learn R Programming

aroma.core (version 3.1.1)

indexOf.UnitNamesFile: Gets the indices of units by their names

Description

Gets the indices of units by their names.

Usage

# S3 method for UnitNamesFile
indexOf(this, pattern=NULL, names=NULL, ...)

Arguments

pattern

A pattern to be used for identifying unit names of interest. If NULL, no regular expression matching is done.

names

Names to be match exactly to the unit names.

...

Not used.

Value

Returns a vector of integers in [1,N] where N is the number of units in the underlying annotation chip type file.

See Also

*getUnitNames(). For more information see UnitNamesFile.