Preprocessing#
Convenience pipeline that prepares count data for partitioning: cell/gene
filters, total-count normalization, log1p, HVG selection, scaling, and PCA.
After a successful run, adata.obsm['X_pca'] is ready for
campmc.partition().
Skip preprocessing when PCA is already present (e.g. Scanpy’s reduced demo
datasets). See campmc.preprocess() for a runnable example.
Filter, normalize, select HVGs, and compute PCA. |