Learn R Programming

a4 (version 1.20.0)

tTest: Use t Test to Compare Two Groups

Description

Use a (modified) t test to compare two groups

Usage

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

Value

  • Object of class "tTest", a data frame with the following columns
  • gSymbolGene Symbol
  • pTODO
  • logRatioTODO
  • pBHTODO
  • tStatTODO

Details

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

See Also

rowttests

Examples

Run this code
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)  
}

Run the code above in your browser using DataLab