znorm: Matrix Z-score normalization.

Description Usage Arguments Value Author(s) References Examples

View source: R/znorm.R

Description

Z-score normalization of a matrix

Usage

1
znorm(m)

Arguments

m

Matrix of gene expression data.

Value

Z-score normalized matrix of gene expression data m.

Author(s)

Haleh Yasrebi

References

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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)
}

Example output

Loading required package: survival
Loading required package: survivalROC
Loading required package: ecodist
Loading required package: survcomp
Loading required package: prodlim
Loading required package: survJamda.data
function (m) 
{
    m = scale(t(scale(t(m))))
    return(m)
}

survJamda documentation built on May 29, 2017, 11:49 a.m.