scanpy.pp.recipe_weinreb17#

scanpy.pp.recipe_weinreb17(adata, *, log=True, mean_threshold=0.01, cv_threshold=2, n_pcs=50, svd_solver='randomized', rng=None, copy=False)[source]#

Normalize and filter as of [Weinreb et al., 2017].

Deprecated: The function recipe_weinreb17 is deprecated and will be removed in the future. Compose :func:`~scanpy.pp.normalize_total`, :func:`~scanpy.pp.log1p`, :func:`~scanpy.pp.highly_variable_genes`, :func:`~scanpy.pp.scale`, and :func:`~scanpy.pp.pca` instead.

Deprecated since version 1.13.0: Compose normalize_total(), log1p(), highly_variable_genes(), scale(), and pca() instead.

Expects non-logarithmized data. If using logarithmized data, pass log=False.

Parameters:
adata AnnData

Annotated data matrix.

log bool (default: True)

Logarithmize data?

copy bool (default: False)

Return a copy if true.

Return type:

AnnData | None