scverse / spatialdata

An open and interoperable data framework for spatial omics data
https://spatialdata.scverse.org/
BSD 3-Clause "New" or "Revised" License
236 stars 45 forks source link

Initial Vignettes #86

Closed kevinyamauchi closed 1 year ago

kevinyamauchi commented 1 year ago

This issue is to discuss the initial vignettes we want to make in order to demonstrate the utility and usage of SpatialData.

Here are the things I think we want to highlight:

Blockers

Based on the vignettes below, these are the features that need to be implemented.

Vignette 1: flexible pipelines operate on multiple data sources

data source: Xenium (luca), CoxMX (giovanni), Merscope (giovanni) features highlighted:

Blockers

Analysis steps

  1. Load the data
  2. View data
  3. Cluster cells
  4. Interactively explore clusters in napari-spatialdata
  5. annotate regions with polygons in napari-spatialdata (e.g., annotate an anotomical region)
  6. aggregate based on the drawn regions
  7. perform differential expression or compare cell type compositions in the annotated/aggregated regions
  8. write results to disk
  9. view results in Vitessce (in the notebook directly?)

Vignette 2: multi-FOV analysis

data source: [Erickson et al., Nature, 2022] (https://www.nature.com/articles/s41586-022-05023-2) (giovanni) features highlighted:

Blockers

Analysis steps

  1. Load data 1.1 Alignment with napari
  2. View data
  3. Cluster/classify visium spots
  4. Extract images under visium spots into pytorch data loader
  5. learn to predict spot cluster based on H&E image (not sure this will work well...might want to have a back up idea)
    1. code from squidpy
  6. predict on the rest of the image

Vignette 3: multimodal integration

data source: Xenium + Visium features highlighted:

Analysis steps

  1. Load data
  2. View data
  3. Align
  4. Do analysis
kevinyamauchi commented 1 year ago

Done!

https://spatialdata.scverse.org/en/latest/tutorials/notebooks/notebooks.html