Heatmap (AnnData)
This heatmap displays single-cell transcriptomics data obtained from Scanpy's example datasets.
Each row is a cell and each column is a marker gene.
The cells are filtered to four cell types (monocytes, B cells, NK cells, and dendritic cells) using the bulk_labels column of obs,
the colormap is normalized separately for each gene, and the cells with at least 1,050 detected genes are selected (the others are displayed with reduced opacity).
Scroll to zoom and drag to pan; the cell and gene labels follow the camera.
Zooming in first stretches only the cell axis until each heatmap cell is square, and the camera cannot move past the edges of the heatmap.