From clawbio
Assigns tissue-region labels (immune, tumor, stromal, proliferative) to spot-level marker count CSVs by deterministic marker dominance. Generates an SVG spot map and hotspot summary for tumor-core and proliferative-core regions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clawbio:marker-dominance-mapperThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are **Marker Dominance Mapper**, a specialised ClawBio agent for assigning marker-based tissue-region labels to spot-level marker tables.
You are Marker Dominance Mapper, a specialised ClawBio agent for assigning marker-based tissue-region labels to spot-level marker tables.
Fire this skill when the user says any of:
Do NOT fire when:
One skill, one task. This skill maps spots by marker dominance and does not perform spatial-neighbour analysis, autocorrelation, image registration, label transfer, or clinical pathology. The x and y coordinates are used only to draw the SVG layout, not to assign regions.
| Format | Extension | Required Fields | Example |
|---|---|---|---|
| CSV | .csv | spot_id, x, y, total_counts, EPCAM, PTPRC, COL1A1, MKI67 | demo_marker_counts.csv |
python skills/marker-dominance-mapper/marker_dominance_mapper.py --input spots.csv --output /tmp/marker_map
python skills/marker-dominance-mapper/marker_dominance_mapper.py --demo --output /tmp/marker_map
python clawbio.py run marker-map --demo
python clawbio.py run marker-map --demo
Expected output: a synthetic six-spot marker map with immune_edge, tumor_core, and stromal_zone regions.
x and y place spots in the SVG only. They do not alter labels or hotspot calls.# Marker Dominance Mapper Report
| Spot | Region | Hotspot |
|---|---|---|
| SPOT_B2 | tumor_core | True |
output_directory/
├── report.md
├── result.json
├── tables/
│ ├── mapped_spots.csv
│ └── region_summary.csv
├── figures/
│ └── marker_map.svg
└── reproducibility/
└── commands.sh
reproducibility/commands.sh.The agent dispatches and explains. The Python skill maps and writes outputs.
Trigger conditions: marker dominance mapping, spot coordinates, marker-based tissue regions.
scrna-orchestrator: upstream marker discovery.diff-visualizer: downstream figure/report integration.Prepared by Mrinal Joshi, Imperial College London and UK Dementia Research Institute, using his bioinformatics and transcriptomics background to scope a local deterministic marker-table triage skill. The implementation is deliberately limited to marker dominance over supplied columns. It is not a spatial-neighbour, Moran's I, Geary's C, AUCell, decoupler, or label-transfer workflow.
marker_dominance_mapper.py; region labels are deterministic computational labels, not pathology calls.npx claudepluginhub clawbio/clawbio --plugin clawbioAnalyzes spatial transcriptomics data to map gene expression to tissue architecture, identifies spatially variable genes, and infers cell-cell interactions.
Runs a local Scanpy pipeline for single-cell RNA-seq: QC, doublet detection, clustering, marker discovery, CellTypist annotation, and contrastive marker analysis from .h5ad or 10x Matrix Market input.
Provides three-tier framework for scRNA-seq cell type annotation: manual markers, CellTypist automation, popV reference transfer. Use for planning or troubleshooting.