callZSCORE {SISPA} | R Documentation |
Estimates the zscores for each row in the data matrix
callZSCORE(x)
x |
A data frame or matrix of gene or probe expression values where rows corrospond to genes and columns corrospond to samples |
This function compute row zscores per sample when number of genes is less than 3
A gene-set by sample matrix of zscores.
g <- 2 ## number of genes s <- 60 ## number of samples ## sample data matrix with values ranging from 1 to 10 rnames <- paste("g", 1:g, sep="") cnames <- paste("s", 1:s, sep="") expr <- matrix(sample.int(10, size = g*s, replace = TRUE), nrow=g, ncol=s, dimnames=list(rnames, cnames)) ## Estimates zscores callZSCORE(expr)