scvelo.pp.log1p

scvelo.pp.log1p(data, copy=False)

Logarithmize the data matrix. Computes \(X = \log(X + 1)\), where \(log\) denotes the natural logarithm. :param data: Annotated data matrix. :type data: AnnData :param copy: Return a copy of adata instead of updating it. :type copy: bool (default: False)

Returns:Returns or updates adata depending on copy.