INSPIRE
v1.0.0
  • Tutorials
    • Example 1: Analysis of human dorsolateral prefrontal cortex (DLPFC) dataset.
    • Example 2: Analysis of mouse brain slices with complementary views.
    • Example 3: Analysis of mouse brain slices across distinct ST technologies.
    • Example 4: Analysis of mouse whole-embryo slices across distinct ST technologies.
    • Example 5: Analysis of mouse whole-embryo slices across developmental stages.
    • Example 6: Spatial registration between two MERFISH hypothalamus slices.
      • Run INSPIRE on adjacent MERFISH slices from mouse hypothalamic preoptic region
      • Analysis of spatial factors
      • Spatially register the two MERFISH slices with rigid transformation
      • Evaluate Pearson correlation score
    • Example 7: Spatial registration between two STARmap PLUS hippocampus slices.
    • Example 8: 3D reconstruction of mouse embryo by integrating multiple 2D slices.
  • Installation
INSPIRE
  • Tutorials
  • Example 6: Spatial registration between two MERFISH hypothalamus slices.
  • View page source

Example 6: Spatial registration between two MERFISH hypothalamus slices.

  • Run INSPIRE on adjacent MERFISH slices from mouse hypothalamic preoptic region
    • Import packages
    • Load data
    • Data preprocessing
    • Build spatial graph
    • Run INSPIRE model
    • Access spot representations, proportions of spatial factors in spots, and gene loading matrix
    • Spatial distributions of spatial factors in tissues
    • Spot representations
    • Porportions of spatial factors visualized on spot representations
    • Save results
  • Analysis of spatial factors
    • Load results
    • Visualize proportions of spatial factors in cells on UMAP coordinates
    • Correspondence of spatial factors to cell types
    • Visualize cell typing result
  • Spatially register the two MERFISH slices with rigid transformation
    • Load results
    • Find anchor cells (MNN cells across slices in the latent space)
    • Register slice 1 onto slice 2
    • Register slice 2 onto slice 1
    • Save result
  • Evaluate Pearson correlation score
    • Load results
    • Calculate the score
Previous Next

© Copyright 2024, Jia Zhao.

Built with Sphinx using a theme provided by Read the Docs.