scib.preprocessing.scale_batch
- scib.preprocessing.scale_batch(adata, batch)
Batch-aware scaling of count matrix
Scaling counts to a mean of 0 and standard deviation of 1 using
scanpy.pp.scalefor each batch separately.- Parameters:
adata –
anndataobject with normalised and log-transformed countsbatch –
adata.obscolumn