Embedding Scatter
@genomics/embedding-scatter
UMAP / t-SNE cell embedding.
Preview
T cellsB cellsNKMonocytesDendriticPlatelets
1,438 cells · 6 clusters
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