Biobase (version 2.32.0)

channel: Create a new ExpressionSet instance by selecting a specific channel

Description

This generic function extracts a specific element from an object, returning a instance of the ExpressionSet class.

Usage

channel(object, name, ...)

Arguments

object
An S4 object, typically derived from class eSet
name
The name of the channel, a (length one) character vector.
...
Additional arguments.

Value

An instance of class ExpressionSet.

Examples

Run this code
obj <- NChannelSet(
           R=matrix(runif(100), 20, 5),
           G=matrix(runif(100), 20, 5))
## G channel as ExpressionSet
channel(obj, "G")

Run the code above in your browser using DataLab