scvelo.pp.log1p

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

Logarithmize the data matrix.

Computes \(X = \log(X + 1)\), where \(log\) denotes the natural logarithm.

Parameters
data : AnnData

Annotated data matrix.

copy : bool (default: False)

Return a copy of adata instead of updating it.

Returns

Returns or updates adata depending on copy.