14 Next steps

We’ve done a fairly streamlined preprocessing of a single cell spatial dataset. At this point in the analysis it would be time to drill into the biology and start doing some focussed analyses. What might be possible?

14.1 What did the authors find from this dataset?

In their paper Macrophage and neutrophil heterogeneity at single-cell spatial resolution in human inflammatory bowel disease Garrido-Trigo et al performed and extensive analysis of their cosmx Data alongside single cell, bulk and microscopy data.

To summarise the kinds of things that are possible with single-cell spatial data - here is a list of some of the analyses from that paper that specifically use this spatial dataset;

  • Identified their detailed celltypes in their single cell data (over the whole transcriptome), which they used to classify celltypes in their spatial data.(page 2 - Integration of single-cell RNA sequencing and spatial molecular imaging analysis provides a map of healthy and inflamed colon)
  • Identified cell niches with different neighbourhoods, e.g lymphoid structures, lamina propria and lower crypt. They quantified an increase in inflammatory celltypes in some of those neighbourhoods, and characterised another neighbourhood seen only in the IBD samples. (page 2 - Integration of single-cell RNA sequencing and spatial molecular imaging analysis provides a map of healthy and inflamed colon)
  • They observed granuloma features in one patient. They examined the macrophage subtypes within them and the surrounding immune cell microenvironment. (Figure 4b, page 6 CosMx Spatial Molecular Imaging analysis confirms the expansion of Inflammation-Dependent Alternative macrophages and reveals their tissue distribution in inflammatory bowel disease colon)
  • Looked at differential abundance of celltypes across samples (page 2 - Transcriptional analysis at single-cell and spatial resolution reveals different populations of resident and inflammatory macrophages in the colonic mucosa )
  • Identified a change in myeloid cell localisation by quantifying the distance of macrophage, MAST cells and Dendritic cells to the mucosal surface (page 2 - Transcriptional analysis at single-cell and spatial resolution reveals different populations of resident and inflammatory macrophages in the colonic mucosa )
  • Observed spatially localised expression of a gene (NRG1) within a subset of apically-located fibroblasts (page 4 - Inflammation-dependent alternative macrophages express neuregulin 1)

14.2 Other techniques.

Segmentation

Good cell segmentation from images underpins downstream analysis. Different platforms offer inbuilt segmentation methods, and often require tweaking from the default with different tissues, antibodies or runs.

  • On-machine segmentation: e.g. Xenium/CosMx
  • Directly from images using specialised microscopy methods for segmentation. e.g. CellPose

Image analysis

  • https://cellprofiler.org/ : This is what is often used in traditional imaging for various tasks, e.g. cell morphology quantifications.

Image registration

Especially for multiomics analysis, being able to align images of the same tissue from different sources is essential. E.g. H&E, immunofluorescence, proteomics e.t.c

Sample and Regional Annotation

It’s typical to have multiple samples on a single slide. We need to label each cell with its ID. Similarly you might want to outline a particular region.

  • Define samples by their centroid x-y coordinates (Painstaking, but it can be enough)
  • Vendor-based solutions; e.g. regional highlighting with Xenium explorer
  • Import masks from annotated images
  • Do you know better approaches or tools? Please share.

Visualisation

There are many tools out there, each with strengths and limitations.

  • VRomics
  • Xenium explorer (Xenium only)
  • AtoMx (cosmx only)
  • Napari cosmx guide
  • CellXGene (single cells)
  • iSEE (single cell)

Niche analysis

Cell neighbour niche analysis is a major avenue of in situ spatial analyses. E.g. tumour microenvrionments, tissue regions. The actual definition of what a ‘niche’ is could be considered flexible - it depends on what you are trying to achieve.

‘Spatial’ pattern tests and cell free analyses

Huge area of research, here are some starting points;

Multiomics

Another huge area of research, here are some starting points. It very much depends on which multiomics you have.