Learn R Programming

a4Base (version 1.20.0)

limmaTwoLevels: Wrapper function for the comparison of two groups using limma

Description

Wrapper function for the comparison of two groups using limma

Usage

limmaTwoLevels(object, group, probe2gene = TRUE)

Arguments

object
object of class ExpressionSet
group
string indicating the variable defining the two groups to be compared, i.e. the name of a factor with two levels
probe2gene
logical; if TRUE Affymetrix probeset IDs are translated into gene symbols; if FALSE no such translation is done

Value

S4 object of class 'limma' with the following two components:
MArrayLM
S4 object of class MArrayLM as returned by the limma function of the limma package
geneSymbols
character vector of gene symbols; this slot is only populated if probe2gene=TRUE (and if the ExpressionSet object is appropriately annotated by addGeneInfo for gene symbols to be extracted)