Single to spatial mapping

From swaruplab/operon · View interactive version

Single to spatial mapping is an AI agent skill from the GitHub repository swaruplab/operon. Map scRNA-seq atlases onto spatial transcriptomics slides using omicverse's Single2Spatial workflow for deep-forest training, spot-level assessment, and marker visualisation.

How to use this skill

Skill file

Single2Spatial spatial mapping

Overview

Apply this skill when converting single-cell references into spatially resolved profiles. It follows CODE0, demonstrating how Single2Spatial trains on PDAC scRNA-seq and Visium data, reconstructs spot-level proportions, and visualises marker expression.

Instructions

  1. Import dependencies and style
  1. Load single-cell and spatial datasets
  1. Initialise Single2Spatial
  1. Train the deep-forest model
  1. Load pretrained weights
  1. Assess spot-level outputs
  1. Visualise proportions and cell-type maps
  1. Export results
  1. Troubleshooting tips

Examples

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.