scanpy.pp.recipe_zheng17#
- scanpy.pp.recipe_zheng17(adata, *, n_top_genes=1000, log=True, plot=False, copy=False)[source]#
Normalize and filter as of Zheng et al. [2017].
Deprecated: The function recipe_zheng17 is deprecated and will be removed in the future. Compose :func:`~scanpy.pp.filter_genes`, :func:`~scanpy.pp.normalize_total`, :func:`~scanpy.pp.log1p`, :func:`~scanpy.pp.highly_variable_genes` (with `flavor=’cell_ranger’`), and :func:`~scanpy.pp.scale` instead.
Deprecated since version 1.13.1: Compose
filter_genes(),normalize_total(),log1p(),highly_variable_genes()(withflavor='cell_ranger'), andscale()instead.Reproduces the preprocessing of Zheng et al. [2017] – the Cell Ranger R Kit of 10x Genomics.
Expects non-logarithmized data. If using logarithmized data, pass
log=False.- Parameters:
- adata
AnnData Annotated data matrix.
- n_top_genes
int(default:1000) Number of genes to keep.
- log
bool(default:True) Take logarithm.
- 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
adatabefore calling this function instead.Return a copy of
adatainstead of updating it.
- adata
- Return type:
- Returns:
Returns or updates
adatadepending oncopy.