came.utils.preprocess.wrapper_scale

came.utils.preprocess.wrapper_scale(adata, zero_center=True, max_value=None, groupby=None, copy=False, **kwds)

Wrapper function for centering and scaling data matrix X in sc.AnnData, extended for within-batch processing.

Examples

>>> wrapper_scale(adata, groupby='batch')