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 : AnnData

Annotated data matrix.

log : bool (default: True)

Logarithmize data?

copy : bool (default: False)

Return a copy if true.

Return type

Optional[AnnData]