omicverse-single-cell-differential-abundance
Installation
SKILL.md
OmicVerse Single-Cell Differential Abundance
Goal
Turn notebook-style OmicVerse differential cell-type abundance analysis into a reusable execution spine. Keep this skill separate from DEG because DCT has a different constructor, different branch-specific prerequisites, and different result shapes.
Quick Workflow
- Inspect the input
AnnData, the condition column, the cell-type column, and whether sample IDs and a usable embedding already exist. - Choose a backend before running anything:
sccodafor the scCODA branch,milopyfor the native Python Milo-like branch, ormilofor the pertpy Milo branch. - For
milopyandmilo, make suresample_keyexists anduse_reppoints to an embedding already stored inobsm. - Construct
ov.single.DCT(...)with explicit branch arguments, then runrun(...). - For
sccoda, do any posterior-specific follow-up such asset_fdr(...)only after the model has finished. - Collect results with
get_results(...)and verify the branch-specific output columns before plotting or exporting.