Learn R Programming

Biobase (version 2.32.0)

selectChannels: Create a new NChannelSet instance by selecting specific channels

Description

This generic function extracts specific elements from an object, returning a instance of that object.

Usage

selectChannels(object, names, ...)

Arguments

object
An S4 object, typically derived from class eSet
names
Character vector of named channels.
...
Additional arguments.

Value

Instance of class object.

Examples

Run this code
obj <- NChannelSet(R=matrix(runif(100), 20, 5), G=matrix(runif(100), 20, 5))

## G channel as NChannelSet
selectChannels(obj, "G")
  

Run the code above in your browser using DataLab