omicverse-single-cell-batch-integration
Installation
SKILL.md
OmicVerse Single-Cell Batch Integration
Goal
Turn the notebook's post-preprocessing batch integration workflow into one reusable skill. Assume QC, normalization, HVG selection, and base PCA preparation are already handled upstream; this skill starts from a preprocessed AnnData with a batch column and focuses on integration backend selection, optional embedding visualization, and optional integration benchmarking.
Quick Workflow
- Confirm that preprocessing is already done and that
adata.obscontains the batch labels. - Choose an integration backend explicitly with
methods=.... - Validate the backend-specific prerequisites before calling
ov.single.batch_correction(...). - Check which integrated embedding key was written to
adata.obsm, and keep model/object returns when the backend returns more thanadata. - Run optional embedding visualization only after the integrated embedding exists.
- Run benchmarking only when at least one non-integrated reference embedding and one or more integrated embeddings are present.