| tTest {a4Base} | R Documentation |
Use a (modified) t test to compare two groups
tTest(object, groups, probe2gene = TRUE)
object |
ExpressionSet object |
groups |
string indicating the name of the variable of the phenoData containing the group information |
probe2gene |
logical; if |
For multiple testing the mt.rawp2adjp function of package
multtest is used.
Object of class "tTest", a data frame with the following columns
gSymbol |
Gene Symbol |
p |
p-value of the difference between the groups |
logRatio |
Log ratio of the expression between the groups |
pBH |
p-value of the difference between the groups, with Benjamini-Hochberg multiplicity correction |
tStat |
Student t-statistic of the different between groups |
Willem Talloen, Tobias Verbeke
rowttests in rowFtests
if (require(ALL)){
data(ALL, package = "ALL")
ALL <- addGeneInfo(ALL)
ALL$BTtype <- as.factor(substr(ALL$BT,0,1))
tTestRes <- tTest(object = ALL, groups = "BTtype", probe2gene = TRUE)
volcanoPlot(tTestRes)
}