Use t Test to Compare Two Groups

Description

Use a (modified) t test to compare two groups

Usage

1
tTest(object, groups, probe2gene = TRUE)

Arguments

object

ExpressionSet object

groups

string indicating the name of the variable of the phenoData containing the group information

probe2gene

logical; if TRUE Affymetrix probeset IDs are translated into gene symbols; if FALSE no such translation is conducted

Details

For multiple testing the mt.rawp2adjp function of package multtest is used.

Value

Object of class "tTest", a data frame with the following columns

gSymbol

Gene Symbol

p

TODO

logRatio

TODO

pBH

TODO

tStat

TODO

Author(s)

Willem Talloen, Tobias Verbeke

See Also

rowttests

Examples

1
2
3
4
5
6
7
8
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)  
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.