Description Usage Arguments Details Value Slots Methods Author(s) See Also Examples
An object of the Channel
class represents a single kind of
measurement performed at all spots of a microarray channel. These
objects are essentially just vectors of data, with length equal to the
number of spots on the microarray, with some extra metadata attached.
1 2 3 4 5 6 7 8 9 10 11 12 13 | Channel(parent, name, type, vec)
## S4 method for signature 'Channel,missing'
plot(x, y, ...)
## S4 method for signature 'Channel'
hist(x, breaks=67, xlab=x@name, main=x@parent, ...)
## S4 method for signature 'Channel'
summary(object, ...)
## S4 method for signature 'Channel'
print(x, ...)
## S4 method for signature 'Channel'
show(object)
## S4 method for signature 'Channel'
image(x, main=x@name, sub=NULL, ...)
|
parent |
character string representing the name of a parent object from which this object was derived |
name |
character string with a displayable name for this object |
type |
object of class |
vec |
numeric vector |
x |
object of class |
y |
nothing; the new Rd format requires documenting missing parameters |
breaks |
see the documentation for the default |
xlab |
character string specifying the label for x axis |
main |
character string specifying the main title for the plot |
sub |
character string specifying subtitle for the plot |
object |
object of class |
... |
extra arguments for generic or plotting routines |
As described in the help pages for ChannelType
, each
microarray hybridization experiment produces one or more channels of
data. Channel
objects represent a single measurement performed
at spots in one microarray channel. The raw data from a full experiment
typically contains multiple measurements in multiple channels.
The full set of measurements is often highly processed (by, for example,
background subtraction, normalization, log transformation, etc.) before it
becomes useful. We have added a history
slot that keeps track of how
a Channel
was produced. By allowing each object to maintain a record
of its history, it becomes easier to document the processing when writing up
the methods for reports or papers. The history
slot of the object is
updated using the generic function process
together with a
Processor
object.
The print
, hist
, and image
methods all invisibly
return the Channel
object on which they were invoked.
The print
and summary
methods return nothing.
parent
:character string representing the name of a parent object from which this object was derived.
name
:character string with a displayable name for this object
type
:object of class ChannelType
x
:numeric vector
history
:list that keeps a record of the calls used to produce this object
Print all the data on the object. Since this includes the entire data vector, you rarely want to do this.
Print all the data on the object. Since this includes the entire data vector, you rarely want to do this.
Write out a summary of the object.
Produce a scatter plot of the measurement
values in the slot x
of the object
against their
index , which serves as a surrogate for the position on the
microarray. Additional graphical parameters are passed along.
Produce a histogram of the data values in slot
x
of the object
. Additional graphical parameters are
passed along.
This method produces a two-dimensional "cartoon" image of the measurement values, with the position in the cartoon corresponding to the two-dimensional arrangement of spots on the actual microarray. Additional graphical parameters are passed along.
Kevin R. Coombes krc@silicovore.com, P. Roebuck proebuck@mdanderson.org
ChannelType
,
process
,
Processor
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 | showClass("Channel")
## simulate a moderately realistic looking microarray
nc <- 100 # number of rows
nr <- 100 # number of columns
v <- rexp(nc*nr, 1/1000) # "true" signal intensity (vol)
b <- rnorm(nc*nr, 80, 10) # background noise
s <- sapply(v-b, max, 1) # corrected signal intensity (svol)
ct <- ChannelType('user', 'random', nc, nr, 'fake')
raw <- Channel(name='fraud', type=ct, parent='', vec=v)
subbed <- Channel(name='fraud', parent='', type=ct, vec=s)
rm(nc, nr, v, b, s) # clean some stuff
summary(subbed)
summary(raw)
par(mfrow=c(2,1))
plot(raw)
hist(raw)
par(mfrow=c(1,1))
image(raw)
## finish the cleanup
rm(ct, raw, subbed)
|
Loading required package: oompaBase
Class "Channel" [package "PreProcess"]
Slots:
Name: parent name type x history
Class: character character ChannelType numeric list
fraud, a microarray channel object
Parent object: NA
Microarray type: user random
Labeled with: fake
Design size: 100 by 100
Design information object:
History:
Channel(parent = "", name = "fraud", type = ct, vec = s)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1.0 203.7 601.7 909.7 1287.7 9269.9
fraud, a microarray channel object
Parent object: NA
Microarray type: user random
Labeled with: fake
Design size: 100 by 100
Design information object:
History:
Channel(parent = "", name = "fraud", type = ct, vec = v)
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.096 285.756 680.438 986.819 1368.870 9347.054
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.