Description Usage Arguments Details Value Author(s) See Also Examples
Automatically creates design and contrast matrices if not specified. This function is useful for comparing T-test results with those of other differential expression (DE) methods such as pumaDE
.
1 2 3 4 5 | calculateTtest(
eset
, design.matrix = createDesignMatrix(eset)
, contrast.matrix = createContrastMatrix(eset)
)
|
eset |
An object of class |
design.matrix |
A design matrix |
contrast.matrix |
A contrast matrix |
The eset
argument must be supplied, and must be a valid ExpressionSet
object. Design and contrast matrices can be supplied, but if not, default matrices will be used. These should usually be sufficient for most analyses.
An object of class DEResult
.
Richard D. Pearson
Related methods pumaDE
, calculateLimma
, calculateFC
, createDesignMatrix
and createContrastMatrix
and class DEResult
1 2 3 4 | # eset_test <- new("ExpressionSet", exprs=matrix(rnorm(400,8,2),100,4))
# pData(eset_test) <- data.frame("class"=c("A", "A", "B", "B"))
# TtestRes <- calculateTtest(eset_test)
# plotErrorBars(eset_test, topGenes(TtestRes))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.