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)

Normalization and filtering as of [Weinreb17].

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

Parameters
adata : AnnDataAnnData

Annotated data matrix.

log : boolbool (default: True)

Logarithmize data?

copy : boolbool (default: False)

Return a copy if true.

Return type

AnnData | NoneOptional[AnnData]