scale
Normalize single-cell RNA sequencing data by scaling to unit variance and zero mean. Adjust parameters like zero-centering, clipping, and layer selection for efficient preprocessing.
Instructions
Scale data to unit variance and zero mean
Input Schema
Name | Required | Description | Default |
---|---|---|---|
layer | No | If provided, which element of layers to scale. | |
mask_obs | No | Boolean mask or string referring to obs column for subsetting observations. | |
max_value | No | Clip (truncate) to this value after scaling. If None, do not clip. | |
obsm | No | If provided, which element of obsm to scale. | |
zero_center | No | If False, omit zero-centering variables to handle sparse input efficiently. |