scanpy.pp.recipe_weinreb17

scanpy.pp.recipe_weinreb17#

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

Normalization and filtering as of [Weinreb et al., 2017].

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