cellink.pp.normalize#
- cellink.pp.normalize(adata, *, method='zscore', inplace=True, copy=True)#
This function normalizes values using the specified method.
- Parameters:
adata (
AnnData) – The annotated data matrix of shapen_obsxn_vars.method (
str(default:'zscore')) – The normalization method. Options are: - ‘zscore’: z-score normalization (mean=0, std=1 for each protein). - ‘minmax’: Scale each protein to the range [0, 1]. - ‘median’: Subtract the median of each protein.inplace (
bool(default:True)) – Whether to updateadataor return a copy of the new AnnData object.copy (
bool(default:True)) – Whether to modify copied input object. Not compatible with inplace=False.
- Return type:
- Returns:
Returns the AnnData object with normalized protein abundances or updates the input
adataif inplace is True.