\HeaderA{selectChannels}{Create a new NChannelSet instance by selecting specific channels}{selectChannels}
\keyword{manip}{selectChannels}
\begin{Description}\relax
This generic function extracts specific elements from an object,
returning a instance of that object.
\end{Description}
\begin{Usage}
\begin{verbatim}
selectChannels(object, names, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] An S4 object, typically derived from class
\code{\LinkA{eSet}{eSet}}
\item[\code{names}] Character vector of named channels.
\item[\code{...}] Additional arguments.
\end{ldescription}
\end{Arguments}
\begin{Value}
Instance of class \code{object}.
\end{Value}
\begin{Author}\relax
Biocore
\end{Author}
\begin{Examples}
\begin{ExampleCode}
obj <- new("NChannelSet",
           R=matrix(runif(100), 20, 5),
           G=matrix(runif(100), 20, 5))

## G channel as NChannelSet
selectChannels(obj, "G")
  \end{ExampleCode}
\end{Examples}

