simba.pp.log_transform

simba.pp.log_transform(adata)[source]

Return the natural logarithm of one plus the input array, element-wise.

Parameters:

adata (AnnData) – Annotated data matrix.

Returns:

  • updates adata with the following fields.

  • X (numpy.ndarray (adata.X)) – Store #observations × #var_genes logarithmized data matrix.