pegasus.log_norm¶
-
pegasus.log_norm(data, norm_count=100000.0, backup_matrix='raw.X')[source]¶ Normalization, and then apply natural logarithm to the data.
- Parameters
data (
pegasusio.MultimodalData) – Use current selected modality in data, which should contain one RNA expression matrix.norm_count (
int, optional, default:1e5.) – Total count of cells after normalization.backup_matrix (
str, optional, default:raw.X.) – Where to back up the count matrix.
- Return type
None- Returns
NoneUpdate
data.Xwith count matrix after log-normalization. In addition, back up the original count matrix asbackup_matrix.
Examples
>>> pg.log_norm(data)