Learn R Programming

survJamda (version 1.1.4)

znorm: Matrix Z-score normalization.

Description

Z-score normalization of a matrix

Usage

znorm(m)

Arguments

m
Matrix of gene expression data.

Value

Z-score normalized matrix of gene expression data m.

References

Larsen, R. J. and Marx, M. L. (2000). An Introduction to Mathematical Statistics and Its Applications (3rd Edition), Prentice Hall.ISBN 0139223037.

Examples

Run this code
require(survJamda.data)

data(gse4335)
data(gse3143)

common.gene = intersect(colnames(gse3143), colnames(gse4335))
m = znorm(rbind(gse3143[,common.gene],gse4335[,common.gene]))

## The function is currently defined as
function(m)
{
        m = scale(t(scale(t(m))))
        return(m)
}

Run the code above in your browser using DataLab