swnn.normalize_default

swnn.normalize_default(adata, target_sum=None, copy=False, log_only=False)

Normalizing datasets with default settings (total-counts normalization followed by log(x+1) transform).

Parameters
  • adataAnnData object

  • target_sum – scale factor of total-count normalization

  • copy – whether to copy the dataset

  • log_only – whether to skip the “total-counts normalization” and only perform log(x+1) transform

Returns

Return type

AnnData or None