standardizeResiduals: standardize or center residuals

View source: R/preprocessing.R

standardizeResidualsR Documentation

standardize or center residuals

Description

iterate over residual matrix, scaling or centering values across cells for each ACR.

Usage

standardizeResiduals(obj, center = T, scale = F, bins = 1024, verbose = F)

Arguments

obj

list object containing slot 'residuals' output from logisticModel or regModel functions.

center

logical, whether or not to center residuals. Has no effect if scale is TRUE. Defaults to TRUE.

scale

logical, whether or not to center and standardize residuals. Defaults to TRUE.

bins

numeric, number of bins to split ACRs into. Defaults to 1024.

verbose

logical. Defaults to FALSE.


plantformatics/Socrates documentation built on April 3, 2025, 1:02 p.m.