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 May 20, 2017, 9:19 p.m.
Search within the LMGene package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.