GGenomics UI
Components/Viewers

Embedding Scatter

@genomics/embedding-scatter

UMAP / t-SNE cell embedding.

Preview

T cellsB cellsNKMonocytesDendriticPlatelets
1,438 cells · 6 clusters
Use left and right arrow keys to step between points, Home and End for the first and last, Enter to select, Escape to clear.

About

Thousands of cells as a 2D scatter, colored either by categorical cluster or by a continuous value like one gene's expression. A legend switches with the mode; hovering reports the nearest cell. Drawn on canvas so it stays smooth at scale.

Usage

import { EmbeddingScatter } from "@/components/ui/embedding-scatter"

<EmbeddingScatter points={cells} values={expr} colorBy="value" />
Registry dependencies
Source: components/ui/embedding-scatter.tsx