Normalization function

Description

This function normalizes a matrix by subtracting the column (sample) mean from each element and adding the grand mean.

Usage

1
norm(mat1)

Arguments

mat1

A matrix to be normalized

Value

matnorm

Normalized matrix

Author(s)

David Rocke and Geun-Cheol Lee

References

http://dmrocke.ucdavis.edu

See Also

lnorm

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
library(Biobase)
library(LMGene)

#data
data(sample.mat)
data(vlist)

raw.eS <- neweS(sample.mat, vlist)

# glog transform data
trans.eS <- transeS(raw.eS, lambda = 727, alpha = 56)

# normalize
normed.exprs <- norm(exprs(trans.eS))