Skip to content

msmu.pp.scale_data

Scale data in MuData object to have zero mean and unit variance.

Parameters:

Name Type Description Default
mdata MuData

MuData object to scale.

required
modality str

Modality to scale.

required
layer str | None

Layer to scale. If None, the default layer (.X) will be used.

None

Returns:

Type Description
MuData

Scaled MuData object.