pegasus.log_norm¶
-
pegasus.
log_norm
(data, norm_count=100000.0)[source]¶ Normalization, and then apply natural logarithm to the data.
- Parameters
data (
anndata.AnnData
) – Annotated data matrix with rows for cells and columns for genes.norm_count (
int
, optional, default:1e5
.) – Total count of cells after normalization.
- Return type
None
- Returns
None
Update
data.X
with count matrix after log-normalization.
Examples
>>> pg.log_norm(adata)