prepzscore: Z-score normalization.

Description Usage Arguments Value Author(s) Examples

Description

Take two data sets, apply Z-score normalization to each and combine the two normalized data sets.

Usage

1
prepzscore(i, j)

Arguments

i

Matrix of gene expression data of the one of the two single data sets.

j

Matrix of gene expression data of the other single data set.

Value

Matrix of Z-score normalized merged data set.

Author(s)

Haleh Yasrebi

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
require(survJamda.data)

data(gse4335)
data(gse1992)

common.gene = intersect(colnames(gse4335),colnames(gse1992))
#m = prepzscore(gse4335[,common.gene],gse1992[,common.gene])

## The function is currently defined as
function (i, j)
{
        i = scale(t(scale(t(i))))
        j = scale(t(scale(t(j))))
        mat = rbind(i,j)
        return(mat)
}

survJamda documentation built on May 1, 2019, 8:50 p.m.