scSLAT.model.preprocess.scanpy_workflow
- scSLAT.model.preprocess.scanpy_workflow(adata, filter_cell=False, min_gene=200, min_cell=30, call_hvg=True, n_top_genes=2500, batch_key=None, n_comps=50, viz=False, resolution=0.8)[source]
Scanpy workflow using Seurat HVG
- Parameters:
adata (
anndata._core.anndata.AnnData) – adatafilter_cell (
typing.Optional[bool]) – whether to filter cells and genesmin_gene (
typing.Optional[int]) – min number of genes per cellmin_cell (
typing.Optional[int]) – min number of cells per genecall_hvg (
typing.Optional[bool]) – whether to call highly variable genes (only support seurat_v3 method)n_top_genes (
typing.Union[int,typing.List,None]) – n top genes or gene listn_comps (
typing.Optional[int]) – n PCA componentsviz (
typing.Optional[bool]) – whether to run visualize stepsresolution (
typing.Optional[float]) – resolution for leiden clustering (used when viz=True)
- Return type:
- Returns:
anndata object