GGenomics UI
Components/Clinical & stats

Enrichment Plot

@genomics/enrichment-plot

The three-panel GSEA figure.

Preview

G2/M checkpoint
804 genes · 24 in set · 24 leading edge
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

A dot plot can show which pathways came out of an enrichment run, but not why any of them did. This shows the evidence: the running score whose peak is the enrichment score, the barcode of set members (a pathway shifted to one end is visible directly as stripes bunching there), and the ranking metric itself, which says whether the peak sits in genuinely up-regulated territory. The leading edge — members up to the peak — is shaded, because that subset is what people actually carry into the next experiment.

Usage

import { EnrichmentPlot } from "@/components/ui/enrichment-plot"

<EnrichmentPlot ranked={ranked} geneSet={pathway} setName="G2/M checkpoint" />
Source: components/ui/enrichment-plot.tsx