b03-0-ChannelType-class: Class "ChannelType"

Description Usage Arguments Details Value Slots Methods Author(s) See Also Examples

Description

This class represents the "type" of a microarray channel.

Usage

1
2
3
4
5
6
7
8
9
ChannelType(mk, md, nc, nr, gl, design="")
setDesign(object, design)
getDesign(object)
## S4 method for signature 'ChannelType'
print(x, ...)
## S4 method for signature 'ChannelType'
show(object)
## S4 method for signature 'ChannelType'
summary(object, ...)

Arguments

mk

character string specifying the name of the manufacturer of the microarray (e.g., 'Affymetrix')

md

character string specifying the model of the microarray (e.g., 'Hu95A')

nc

scalar integer specifying the number of columns in the array

nr

scalar integer specifying the number of rows in the array

gl

character string specifying the material used to label samples

design

character string containing the name of an object describing details about the design of the microarray

object

object of class ChannelType

x

object of class ChannelType

...

extra arguments for generic or plotting routines

Details

Microarrays come in numerous flavors. At present, the two most common types are the synthesized oligonucleotide arrays produced by Affymetrix and the printed cDNA arrays on glass, which started in Pat Brown's lab at Stanford. In earlier days, it was also common to find nylon microarrays, with the samples labeled using a radioactive isotope. The glass arrays are distinguished from other kinds of arrays in that they typically cohybridize two different samples simultaneously, using two different fluorescent dyes. The fluorescence from each dye is scanned separately, producing two images and thus two related sets of data from the same microarray. We refer to these parallel data sets within an array as “channels”.

An object of the ChannelType class represents a combination of the kind of microarray along with the kind of labeling procedure. These objects are intended to be passed around as part of more complex objects representing the actual gene expression data collected from particular experiments, in order to be able to eventually tie back into the description of what spots were laid down when the array was produced.

The ChannelType object only contains a high level description of the microarray, however. Detailed information about what biological material was laid down at each spot on the microarray is stored elsewhere, in a “design” object. Within a ChannelType object, the design is represented simply by a character string. This string should be the name of a separate object containing the detailed design information. This implementation allows us to defer the design details until later. It also saves space by putting the details in a single object instead of copying them into every microarray. Finally, it allows that single object to be updated when better biological annotations are available, with the benefits spreading immediately to all the microarray projects that use that design.

Value

The ChannelType constructor returns a valid object of the class.

The setDesign function invisibly returns the ChannelType object on which it was invoked.

The getDesign function returns the design object referred to by the design slot in the ChannelType object. If this string does not evaluate to the name of an object, then getDesign returns a NULL value.

Slots

maker:

character string specifying the name of the manufacturer of the microarray

model:

character string specifying the model of the microarray

nCol:

scalar integer specifying number of columns in the array

nRow:

scalar integer specifying number of rows in the array

glow:

character string specifying the material used to label samples

design:

character string containing the name of an object describing details about the design of the microarray

Methods

print(x, ...)

Prints all the information in the object

show(object)

Prints all the information in the object

summary(object, ...)

Writes out a summary of the object

Author(s)

Kevin R. Coombes krc@silicovore.com, P. Roebuck proebuck@mdanderson.org

See Also

Channel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
showClass("ChannelType")

x <- ChannelType('Affymetrix', 'oligo', 100, 100, 'fluor')
x
print(x)
summary(x)

y <- setDesign(x, 'fake.design')
print(y)
summary(y)
d <- getDesign(y)
d

rm(d, x, y) # cleanup

Example output

Loading required package: oompaBase
Class "ChannelType" [package "PreProcess"]

Slots:
                                                                  
Name:      maker     model      nCol      nRow      glow    design
Class: character character   numeric   numeric character character
Microarray type: Affymetrix oligo 
Labeled with: fluor 
Microarray type: Affymetrix oligo 
Labeled with: fluor 
Microarray type: Affymetrix oligo 
Labeled with: fluor 
Design size: 100 by 100 
Design information object:  
Microarray type: Affymetrix oligo 
Labeled with: fluor 
Microarray type: Affymetrix oligo 
Labeled with: fluor 
Design size: 100 by 100 
Design information object: fake.design 
Warning message:
In getDesign(y) : object does not contain a valid design
NULL

PreProcess documentation built on May 3, 2019, 1:24 p.m.