February 2026
Aim:
Example:
Most methods require defined clusters as input. Assigning cells to discrete clusters in context of continuous differentiation, developmental or stimulation trajectories.
Methods that don’t require clusters also don’t model variability in cell numbers among replicates or can only carry out pairwise comparisons.
Steps:
Construct KNN graph
Defines Cell Neighbourhoods by sub-sampling the graph to identify useful “index cells” (for computational efficiency)
Counts cells in Neighbourhoods
Tests for DA in Neighbourhoods
Does a multiple testing correction (Spacial FDR)
Visualises the outputs with our UMAP embeddings
Milo is implemented in R and uses the SingleCellExperiment class as input
We will have to convert our Seurat object to a SingleCellExperiment object
Seurat has a function for this called as.SingleCellExperiment()
The SCE object also has slots for the differnt elements of our data
colData for the metadataassays for the count datareducedDims for the dimensionality reduction embeddings