Learn R Programming

LMGene (version 2.28.0)

norm: Normalization function

Description

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

Usage

norm(mat1)

Arguments

mat1
A matrix to be normalized

Value

matnorm
Normalized matrix

References

http://dmrocke.ucdavis.edu

See Also

lnorm

Examples

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

Run the code above in your browser using DataLab