Learn R Programming

supclust (version 1.1-1)

standardize.genes: Standardization of Predictor Variables

Description

Standardizes each column (gene) of the x-matrix to zero mean and unit variance. This function is not to be called by the user, the standardization is handled internally in pelora.

Usage

standardize.genes(exmat)

Arguments

exmat

Numeric matrix of explanatory variables (\(p\) variables in columns, \(n\) cases in rows). For example, these can be microarray gene expression data which should be standardized and then grouped.

Value

Returns a list containing:

x

The standardized x-matrix

means

Numeric vector of length \(p\), containing the initial mean of each column (gene) of the x-matrix.

sdevs

Numeric vector of length \(p\), containing the initial standard deviation of each column (gene) of the x-matrix.

See Also

pelora also for the references.