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

xform(mat, scale = FALSE)

Arguments

mat
matrix (such as produced by exprs)
scale
should the columns also be scaled to have unit variance

Value

matrix