File: selectChannels.Rd

package info (click to toggle)
r-bioc-biobase 2.66.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,136 kB
  • sloc: ansic: 642; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\name{selectChannels}
\alias{selectChannels}

\title{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{
  \item{object}{An S4 object, typically derived from class
    \code{\link{eSet}}}
  \item{names}{Character vector of named channels.}
  \item{...}{Additional arguments.}
}
\value{
  Instance of class \code{object}.
}
\author{Biocore}

\examples{
obj <- NChannelSet(R=matrix(runif(100), 20, 5), G=matrix(runif(100), 20, 5))

## G channel as NChannelSet
selectChannels(obj, "G")
  }
\keyword{manip}