scale to unit variance

Scale data to unit variance and zero mean.

Parameters

zero_center: bool If False, omit zero-centering variables, which allows to handle sparse input efficiently.


max_value: float Clip to this value after scaling. If None, do not clip.


Web view

scale_to_unit_variance_screenshot

Python equivalent

import scanpy as sc

sc.pp.scale(adata, zero_center=True, max_value=None)