Skip to content

Hilbert Heatmap (AnnData)

This heatmap arranges the cells of a single-cell transcriptomics dataset along a generalized Hilbert ("gilbert") curve, inspired by the work of Valdes et al., Frontiers in Bioinformatics 2023. The cells along the curve are sorted by cell type, and each cell is colored by its expression of the selected gene (LYZ by default). Use the plot controls to choose another gene, or to color the cells by a different categorical label instead.

When coloring by a categorical label, enable Fade By Gene to use opacity to visualize where each cell lies along the distribution of expression values (percentile-based) for the selected gene.

Note that the gilbert curve may not entirely fill the rectangular plotted region, depending on the aspect ratio and the number of cells in the dataset.