bio-imaging-mass-cytometry-spatial-analysis:Spatial analysis of cell neighborhoods 、 interactions in IMC data。 Covers ne…
spatial-transcriptomics-tutorials-with-omicverse
维护者 FreedomIntelligence · 最近更新 2026年4月1日
spatial-transcriptomics-tutorials-with-omicverse:Use this skill to navigate spatial analysis tutorials located under [`Tutorials-space`](../../omicverse_guide/docs/Tutorials-space/)。 notebooks span preprocessing utilities ([`t_crop_rotate.ipynb`](../../omicverse_guide/docs/Tutorials-space/t_crop_rotate.ipynb),[`t_cellpose.ipynb`](../../omicverse_guide/docs/Tutorials-space/t_cellpose.ipynb)),deconvolution 框架s ([`t_decov.ipynb`](../../omicverse_guid…。
原始来源
FreedomIntelligence/OpenClaw-Medical-Skills
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/spatial-tutorials
- 维护者
- FreedomIntelligence
- 许可
- MIT
- 最近更新
- 2026年4月1日
技能摘要
来自 SKILL.md 的关键信息
核心说明
- Use this skill to navigate spatial analysis tutorials located under Tutorials-space. notebooks span preprocessing utilities (t_crop_rotate.ipynb,t_cellpose.ipynb),deconvolution 框架s (t_decov.ipynb,t_starfysh.ipynb),、 downstream spatial modelling 或 integration tasks (t_cluster_space.ipynb,t_staligner.ipynb,t_spaceflow.ipynb,t_commot_flowsig.ipynb,t_gaston.ipynb,t_slat.ipynb,t_stt.ipynb). Follow staged instructions below to match "Preprocess","Deconvolution",、 "Downstream" groupings presented in notebooks。
- Core:omicverse,scanpy,anndata,numpy,matplotlib,squidpy (deconvolution + QC),networkx (FlowSig graphs)。
- 分割:cellpose,stardist,opencv-python/tifffile,optional GPU-enabled PyTorch ,用于 acceleration. t_cellpose.ipynb。
- Deconvolution:tangram,cell2location,pytorch-lightning,pandas,h5py,plus optional GPU/CUDA stacks;Starfysh additionally needs torch,scikit-learn,、 curated signature CSVs. t_decov.ipynb,t_starfysh.ipynb。
- Downstream modelling:scikit-learn (聚类,KMeans,ARI),gseapy==1.0.4 ,用于 STT enrichment,commot,flowsig,torch-backed modules (STAligner,SpaceFlow,GASTON,SLAT),plus HTML exporters (Plotly) ,用于 Sankey plots。
原始文档
SKILL.md 摘录
Preprocess
- Load spatial slides and manipulate coordinates
- Import
omicverse as ov,scanpy as sc, and enable plotting defaults withov.plot_set()orov.plot_set(font_path='Arial').t_crop_rotate.ipynb - Fetch public Visium data via
sc.datasets.visium_sge(...), inspectadata.obsm['spatial'], and respectuns['spatial'][library_id]['scalefactors']when rescaling coordinates for high-resolution overlays. - Apply region selection and alignment helpers:
ov.space.crop_space_visium(...)for bounding-box crops,ov.space.rotate_space_visium(...)followed byov.space.map_spatial_auto(..., method='phase'), and refine offsets withov.space.map_spatial_manual(...)before plotting usingsc.pl.embedding(..., basis='spatial').
- Import
- Segment Visium HD tiles into cells
- Organise Visium HD outputs (binned parquet counts,
.btfhistology) and load them throughov.space.read_visium_10x(path, source_image_path=...).t_cellpose.ipynb - Filter sparse bins (
ov.pp.filter_genes(..., min_cells=3)andov.pp.filter_cells(..., min_counts=1)) prior to segmentation. - Run nucleus/cell segmentation variants:
ov.space.visium_10x_hd_cellpose_he(...)for H&E,ov.space.visium_10x_hd_cellpose_expand(...)to grow labels across neighbouring bins, andov.space.visium_10x_hd_cellpose_gex(...)for gene-expression driven seeds. Harmonise labels withov.space.salvage_secondary_labels(...)and aggregate to cell-level AnnData usingov.space.bin2cell(..., labels_key='labels_joint').
- Organise Visium HD outputs (binned parquet counts,
- Initial QC for downstream tasks
- For Visium/DLPFC re-analyses, compute QC metrics (
sc.pp.calculate_qc_metrics(adata, inplace=True)) and persist intermediate AnnData snapshots (adata.write('data/cluster_svg.h5ad', compression='gzip')) for reuse across tutorials.t_cluster_space.ipynb
- For Visium/DLPFC re-analyses, compute QC metrics (
适用场景
- Use spatial-transcriptomics-tutorials-,支持-omicverse ,用于 GIS 、 remote-sensing workflows。
- Apply spatial-transcriptomics-tutorials-,支持-omicverse to earth observation 、 spatial analysis tasks。
不适用场景
- Do not rely on this catalog entry alone ,用于 installation 或 maintenance details。
相关技能
相关技能
bio-workflows-imc-pipeline:Imaging mass cytometry:分割 → phenotyping → spatial analysis。
geomaster
geomaster:Comprehensive 地理空间 science skill covering GIS,遥感,spatial analysis,、 ML ,用于 Earth observation across 70+ topics…
hedgefundmonitor
hedgefundmonitor:Free,open REST API ,面向 U.S。 Office of Financial Research (OFR) providing aggregated hedge fund time ser…