TNoM-class {ClassComparison} | R Documentation |
Implements the "Total Number of Misclassifications" method for finding differentially expressed genes.
TNoM(data, classes, verbose = TRUE) ## S4 method for signature 'TNoM': summary(object, ...) ## S4 method for signature 'TNoM': update(object, nPerm, verbose=FALSE, ...) ## S4 method for signature 'TNoM': selectSignificant(object, cutoff, ...) ## S4 method for signature 'TNoM': countSignificant(object, cutoff, ...) ## S4 method for signature 'fullTNoM, missing': plot(x, ...) ## S4 method for signature 'fullTNoM': hist(x, ...)
data |
Either a data frame or matrix with numeric values or an
ExpressionSet as defined
in the BioConductor tools for analyzing microarray data. |
classes |
If data is a data frame or matrix, then classes
must be either a logical vector or a factor. If data is an
ExpressionSet , then classes can be a character string that
names one of the factor columns in the associated
phenoData subobject. |
verbose |
A logical flag; whether to print out intermediate results |
object |
A TNoM object |
nPerm |
An integer; the number of permutations to perform |
cutoff |
An integer |
x |
A fullTNoM object |
... |
Additional plotting or other arguments. |
The TNoM method was developed by Yakhini and Ben-Dor and first applied in the melanoma microarray study by Bittner and colleagues (see references). The goal of the method is to detect genes that are differentially expressed between two groups of samples. The idea is that each gene serves as a potential classifier to distinguish the two groups. One starts by determining an optimal cutoff on the expression of each gene and counting the number of misclassifications that gene makes. Next, we bin genes based on the total number of misclassifications. This distribution can be compared with the expected value (by simulating normal data sets of the same size). Alternatively, one can estimate the null distribution directly by scrambling the sample labels to perform a permutation test.
The TNoM
constructor computes the optimal cutoffs and the
misclassification rates. The update
method performs the
simulations and permutation tests, producing an object of the
fullTNoM
class.
summary
returns a TNoMSummary
object.
update
returns a fullTNoM
object.
selectSignificant
returns a vector of logical values.
countSignificant
returns an integer.
As usual, objects can be created by new
, but better methods are
available in the form of the TNoM
function. The
inputs to this function are the same as those used for row-by-row
statistical tests throughout the ClassComparison package; a detailed
description can be found in the MultiTtest
class.
Objects of the TNoM
class have the following slots:
data
:tnomData
:data
, recording the minimum number of
misclassification acheived using this data row.nCol
:data
nRow
:data
classifier
:call
:call
that created the object
Objects of the fullTNoM
class have the following slots:
dex
:fakir
:obs
:scr
:name
:
Objects of the TNoM
class have the following methods:
cutoff
.cutoff
.TNoM
object.
Objects of the fullTNoM
class have the following methods:
COLOR.OBSERVED
,
COLOR.EXPECTED
, and
COLOR.PERMTEST
Kevin R. Coombes <kcoombes@mdanderson.org>
Bittner M, Meltzer P, Chen Y, Jiang Y, Seftor E, Hendrix M, Radmacher M, Simon R, Yakhini Z, Ben-Dor A, Sampas N, Dougherty E, Wang E, Marincola F, Gooden C, Lueders J, Glatfelter A, Pollock P, Carpten J, Gillanders E, Leja D, Dietrich K, Beaudry C, Berens M, Alberts D, Sondak V. Molecular classification of cutaneous malignant melanoma by gene expression profiling. Nature. 2000 Aug 3;406(6795):536-40.
MultiTtest
, MultiWilcoxonTest
, Bum
n.genes <- 200 n.samples <- 10 bogus <- matrix(rnorm(n.samples*n.genes, 0, 3), ncol=n.samples) splitter <- rep(FALSE, n.samples) splitter[sample(1:n.samples, trunc(n.samples/2))] <- TRUE tn <- TNoM(bogus, splitter) summary(tn) tnf <- update(tn) plot(tnf) hist(tnf) rm(bogus, splitter, n.genes, n.samples, tn, tnf)