deds.genExtra is used to pass in extra arguments for
comp.stat and deds.stat.linkC,
which computes various test statistics for differential expression
in microarray data.
deds.genExtra(classlabel, tests)
test="t": |
| one- or two-sample t-statistics; |
test="f": |
| F-statistics; |
test="fc": |
| fold changes among classes; |
test="sam": |
| SAM-statistics; |
test="modt": |
| moderated t-statistics; |
test="modf": |
| moderated F-statistics; |
test.
deds.genExtra generates
extra parameters needed to be passed in the functions
comp.stat and deds.stat.linkC for the assessment of
differential expression. Both functions are interfaces to C functions.
deds.genExtra generates default parameters as follows:
If test="t" or "f", "fc", "modt", "modf", the extra parameter
needed is the number of classes;
If test="sam", the extra parameter needed is the percentile of
within-gene standard deviations that the fudge factor $s_0$ will
be set at and the default is 0.5;
If test="B", the extra parameter needed is the percentage of
alternative hypotheses (differential expression) and the default is
set at 0.01.
comp.stat, deds.stat.linkC## two sample test
L <- rep(0:1, c(5,5))
extras <- deds.genExtra(L, c("t","sam", "B"))
## extras will be c(2, 0.5, 0.01)
Run the code above in your browser using DataLab