Learn R Programming

MAST (version 0.931)

xform: Make matrix of continuous expression values, orthogonal to discrete

Description

This centers each column of mat around the mean of its non-zero values.

Usage

xform(mat, scale = FALSE)

Arguments

mat

matrix (such as produced by exprs)

scale

should the columns also be scaled to have unit variance