Description Usage Arguments Slots/List Components Methods Author(s) See Also Examples
A matrix-based class for storing the results of simultanous tests.
TestResults
objects are usually created by decideTests
.
1 2 3 4 5 6 |
object, x |
object of class |
... |
other arguments are not used |
A TestResults
object is essentially a numeric matrix with elements equal to 0
, 1
or -1
.
Zero represents acceptance of the null hypothesis, 1
indicates rejection in favor of the right tail alternative and -1
indicates rejection in favor of the left tail alternative.
TestResults
objects can be created by new("TestResults",results)
where results
is a matrix.
Objects of this class contain no slots (other than .Data
), although the attributes dim
and dimnames
may be treated as slots.
This class inherits directly from class matrix
so any operation appropriate for matrices will work on objects of this class.
show
and summary
methods are also implemented.
Functions in LIMMA which operate on TestResults
objects include
heatDiagram
,
vennCounts
,
vennDiagram
,
write.fit
.
Gordon Smyth
02.Classes gives an overview of all the classes defined by this package. 08.Tests gives an overview of multiple testing.
1 2 3 4 5 6 7 8 | ## Not run:
# Assume a data object y and a design matrix
fit <- lmFit(y, design)
fit <- eBayes(fit)
results <- decideTests(fit)
summary(results)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.