Description Usage Arguments Details Value Author(s) See Also
Classify a series of related t-statistics as up, down or not significant. A number of different multiple testing schemes are offered which adjust for multiple testing down the genes as well as across contrasts for each gene.
1 | decideTests(object,method="separate",adjust.method="BH",p.value=0.05,lfc=0)
|
object |
|
method |
character string specify how probes and contrasts are to be combined in the multiple testing strategy. Choices are |
adjust.method |
character string specifying p-value adjustment method. Possible values are |
p.value |
numeric value between 0 and 1 giving the desired size of the test |
lfc |
minimum log2-fold-change required |
These functions implement multiple testing procedures for determining whether each statistic in a matrix of t-statistics should be considered significantly different from zero.
Rows of tstat
correspond to genes and columns to coefficients or contrasts.
The setting method="separate"
is equivalent to using topTable
separately for each coefficient in the linear model fit, and will give the same lists of probes if adjust.method
is the same.
method="global"
will treat the entire matrix of t-statistics as a single vector of unrelated tests.
method="hierarchical"
adjusts down genes and then across contrasts.
method="nestedF"
adjusts down genes and then uses classifyTestsF
to classify contrasts as significant or not for the selected genes.
Please see the limma User's Guide for a discussion of the statistical properties of these methods.
An object of class TestResults
.
This is essentially a numeric matrix with elements -1
, 0
or 1
depending on whether each t-statistic is classified as significantly negative, not significant or significantly positive respectively.
If lfc>0
then contrasts are judged significant only when the log2-fold change is at least this large in absolute value.
For example, one might choose lfc=log2(1.5)
to restrict to 50% changes or lfc=1
for 2-fold changes.
In this case, contrasts must satisfy both the p-value and the fold-change cutoff to be judged significant.
Gordon Smyth
An overview of multiple testing functions is given in 08.Tests.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.