omicverse-single-cell-differential-abundance

Community

Compare cell-type abundances across conditions

AuthorStarlitnightly
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Turn notebook-style differential cell-type abundance analysis into a reusable, triggerable operation so researchers can reliably compare cell-type compositions between experimental conditions without reworking exploratory code each time.

Core Features & Use Cases

  • Multiple backends: Choose between scCODA posterior sampling or Milo-family neighborhood testing (milopy or milo) depending on inference needs.
  • Input validation: Ensures required AnnData fields, sample identifiers, and embedding keys exist before execution to prevent common runtime errors.
  • Reproducible workflows: Encapsulates constructor, run, and result collection patterns so the same analysis can be rerun, smoke-tested, and integrated into larger pipelines.
  • Use Case: Compare Control versus infected samples to identify cell-type compositional shifts using either Bayesian compositional inference or neighborhood-based testing.

Quick Start

Run a differential abundance test comparing Control and Salmonella on an AnnData with sample_key batch and embedding X_pca.

Dependency Matrix

Required Modules

numpypandasanndatascanpyomicverse

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: omicverse-single-cell-differential-abundance
Download link: https://github.com/Starlitnightly/omicverse-skills/archive/main.zip#omicverse-single-cell-differential-abundance

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.