scanpy.pp.recipe_seurat#

scanpy.pp.recipe_seurat(adata, *, log=True, plot=False, copy=False)[source]#

Normalize and filter as of Seurat [Satija et al., 2015].

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

Deprecated since version 1.13.1: Compose filter_cells(), filter_genes(), normalize_total(), log1p(), highly_variable_genes(), and scale() instead.

This uses a particular preprocessing.

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

Parameters:
adata AnnData

Annotated data matrix.

log bool (default: True)

Logarithmize data?

plot bool (default: False)

Show a plot of the gene dispersion vs. mean relation.

copy bool (default: False)

Deprecated since version 1.13.0: Copy adata before calling this function instead.

Return a copy if true.

Return type:

AnnData | None