exprMat: Calculate the expression matrix from the raw expression data.

View source: R/exprMat.R

exprMatR Documentation

Calculate the expression matrix from the raw expression data.


This function use a affyBatch object with the raw expression data to normalize and transform the matrix from probeset to gene considering the option to remove the batch effect in the long microarray data.


exprMat(affy, genes, NormalizeMethod, SummaryMethod, BatchCorrect = TRUE)



A AffyBatch object with the raw expression data.


A table with two columns, in the firt one the name of each probe in the microarray with header "probe" and in the second one the corresponding gene or ID with header "ID".


The method to normalize the raw data. Can be "vsn" to apply Variance Stabilizing Normalization function or "rma" to apply Robust Multi-Array Average function.


The method to pass from probeset to genes or ID. Can be "max" to selecto the probeset with the most average expression value or "median" to obtain the median of each sample of the set of probeset corresponding to particular gen or ID.


The option to apply batch effect correction, by default TRUE.


A SummarizedExperiment object with the expression matrix.


Juan David Henao <judhenaosa@unal.edu.co>


Huber, W., Von Heydebreck, A., Sultmann, H., Poustka, A., & Vingron, M. (2002). Variance stabilization applied to microarray data calibration and to the quantification of differential expression. Bioinformatics, 18(suppl 1), S96-S104.

Irizarry, R. A., Hobbs, B., Collin, F., Beazer Barclay, Y. D., Antonellis, K. J., Scherf, U., & Speed, T. P. (2003). Exploration, normalization, and summaries of high density oligonucleotide array probe level data. Biostatistics, 4(2), 249-264.

See Also

getAffy to obtain the affyBatch object.

geneSymbol to obtain the data.frame with probeset and genes/ID from .SOFT file.


## Not run: 

# Loading data

if (require(affydata)) {

# Loading table with probeset and gene/ID information


# Calculating the expression matrix

## RMA

rma <- exprMat(affy = Dilution,genes = info,NormalizeMethod = "rma",
SummaryMethod = "median",BatchCorrect = FALSE)

## VSN

vsn <- exprMat(affy = Dilution,genes = info,NormalizeMethod = "vsn",
SummaryMethod = "median",BatchCorrect = FALSE)

## End(Not run)

jdhenaos/coexnet documentation built on April 22, 2022, 12:43 a.m.