swnn.wrapper_scale

swnn.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 cprocessing.

Example

wrapper_scale(adata, groupby=’batch’)