norm: Normalization function

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/norm.R

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))

LMGene documentation built on April 28, 2020, 8:01 p.m.