1 of 24

Canadian Bioinformatics Workshops

The Brain Single Cell Initiative

Panoramics - A Vision

www.bioinformatics.ca

bioinformaticsdotca.github.io

1

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

2 of 24

2

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

3 of 24

Module #5: Visualizing your gene expression in tissue context

Introductory Spatial ‘Omics Analysis

July 9-10, 2024

<WORKSHOP DATES>

Introductory Spatial ‘Omics Analysis

February 20-21, 2025

Alyona Ivanova

PhD Candidate

Brain Tumour Research Centre,

The Hospital for Sick Children

Institute of Medical Science, University of Toronto

3

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

4 of 24

Learning Objectives

  • By the end of this lecture, you will

    • understand the value of tissue segmentation in spatial transcriptomics analysis

and learn how to:

    • use annotated H&E images and integrate them with the previous gene expression derived spatial domains
    • use your image to confirm, fine-tune or validate spatial clusters
    • complement image-defined regions where spatial clustering fails

4

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

5 of 24

Lesson plan

Key steps involved in image analysis

Softwares available

Practical with QuPath

Applications

5

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

6 of 24

Pathology images play crucial role in clinical practice

Broad class of histological structures found in breast tissue images

(Left) two normal ducts outlined in magenta and black; ductal carcinoma in situ outlined in green; a large nest of invasive carcinoma outlined in blue; adipose tissue (fat cells) outlined in different colors; (Right) a large tumor nest with infiltrating lymphocyte outlined.

Nguyen et al. 2018

6

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

7 of 24

Histological structure helps understand spatial tumour biology and inform pathological basis of cancer��Accurate segmentation of histological structures can thus help build a spatial interaction map to serve as an exploratory tool for pathologists��Segmentation can also facilitate precision medicine studies which perform microdissection for deep molecular profiling��

7

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

8 of 24

Key steps involved

Image preprocessing

Feature extraction from H&E image

    • Cell segmentation
    • Morphological features
    • Histological structures

Data integration

8

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

9 of 24

Neuroanatomical Structure of Mouse Brain

Annotated Mouse Coronal Section, Allen Brain Atlas

9

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

10 of 24

Software options for histology annotation

Augmentiqs - combines microscope annotation with histopathology imaging. It allows pathologists to create inline annotations, morphometric measurements, and share images in real-time

QuPath - allows users to annotate, view, markup, and analyze pathology images. It provides tools for tumor identification, biomarker evaluation, and batch processing

CellProfiler - allows users to analyze and batch-process cells in biological images

3D Slicer - medical image processing and visualization; can be used for 3D image segmentation and registration 

10

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

11 of 24

Mouse Brain Hippocampus annotated in QuPath

11

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

12 of 24

QuPath Demo

  1. How to use QuPath for annotation of images
  2. How to download your annotations
  3. How to import the spatial clusters
  4. How to simultaneously view annotated image and spatial clusters

12

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

13 of 24

Scale factor

scalefactors_json.json: The purpose of the file is to record the relative scales of the user-supplied image, the images in the spatial outs, and the Visium array:

tissue_hires_scalef: A scaling factor that converts pixel positions in the original, full-resolution image to pixel positions in tissue_hires_image.png

µm

pixels

Scaling factor

13

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

14 of 24

Visium HD slide

2/8/16 µm

2/8/16 µm

Defines the grid size

14

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

15 of 24

Output from Module 3 Spatial Clustering

1. Each cluster is bit (binary) == channel

2. Assign each grid with a value that is either 0 or 255

3. Create an empty numpy array that is equivalent to the grid size of your bins

4. Scale to fit H&E resolution

5. QuPath

15

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

16 of 24

Reflection questions

  • What is the value of spatial clustering? Does spatial clustering explain differences between anatomical regions?
  • Can you identify any areas within one anatomical region that contain several spatial clusters?

16

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

17 of 24

MBP (Myelin basic protein): protein that helps form the myelin sheath around nerve fibers

SYP (synaptophysin): involved in synapse formation and function in the hippocampus

HPCA (hippocalcin):expressed in the hippocampus and is involved in calcium signaling

GFAP (Glial fibrillary acidic protein): protein that's expressed in the hippocampus and is a marker of glial cells

PROX1 (Prospero-related homeobox 1): regulates cell differentiation and proliferation, and is expressed in the dentate gyrus (DG) of the hippocampus

LCT: expressed in the dorsal hippocampus, and it's a marker for the dorsal division of the dentate gyrus

One step further…

17

bioinformatics.ca

18 of 24

Applications

Automating morphologic evaluation tasks through computational pathology

FastGlioma workflow. From Foundation models for fast, label-free detection of glioma infiltration.

Kondepudi et al., 2024

18

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

19 of 24

Applications

Computational staining

Human-interpretable image feature extraction workflow.From Human-interpretable image features derived from densely mapped cancer pathology slides predict diverse molecular phenotypes

Diao et al., 2021

19

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

20 of 24

Applications

Subtype prediction and identification of spatially-resolved biomarkers

20

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

21 of 24

Applications

AI tool 'sees' cancer gene signatures in biopsy images

A new AI program, SEQUOIA, can analyze a microscopy image from a tumor biopsy (left, purple) and rapidly determine what genes are likely turned on and off in the cells it contains (gene expression shown in shades of red and blue on right).�Images courtesy of Olivier Gevaert�Photo illustration by Emily Moskal

21

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

22 of 24

Limitations

High Heterogeneity

High Cost

Representativeness of the sample

22

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

23 of 24

Questions?

23

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision

24 of 24

We are on a Coffee Break & Networking Session

Workshop Sponsors:

24

bioinformatics.ca | The Brain Single Cell Initiative | Panoramics - A Vision