napari_prism.pp.zscore#
- napari_prism.pp.zscore(adata, layer=None, copy=True)#
Apply z-score transformation along the rows of a given layer or .X. Each cell’s expression across vars will be scored -1 to 1.
i.e. A relative ‘rank’ of vars within each cell.
- Parameters:
- Return type:
- Returns:
AnnData object with row-wise z-score transformation applied. If
copyis False, modifies the AnnData object in place and returns None.