GGenomics UI
Components/Viewers

CNV Profile

@genomics/cnv-profile

Genome-wide copy-number profile.

Preview

1,026 bins · 5 segments
Use left and right arrow keys to step between points, Home and End for the first and last, Enter to select, Escape to clear. Use plus and minus to zoom, arrow keys to pan when no bin is selected.

About

Binned log2 tumor/normal ratios as points (gain red, loss blue) with called segments drawn as bold lines, the cancer-genomics staple. x is cumulative genome position with alternating chromosome shades; y is log2 ratio centered at 0.

Usage

import { CnvProfile } from "@/components/ui/cnv-profile"

<CnvProfile bins={bins} segments={segments} />
Source: components/ui/cnv-profile.tsx