Charts / React science and statistics charts / Statistics
Volcano plot
Fold change against significance for every gene, with FDR and fold-change thresholds, up and down counts and the top hits labelled.
React component VolcanoPlot, data through props. Uncertainty made visible: fits, intervals, survival and effect sizes. Tags: volcano, differential-expression, rna-seq, fdr, genomics, fold-change, canvas.
Install
npm i klar-charts
import 'klar-charts/styles.css'
import { ThemeScope, VolcanoPlot } from 'klar-charts'
# or copy the source:
npx shadcn@latest add https://klar.run/r/sci-volcano.json
Usage
<VolcanoPlot
data={data}
height={560}
y={y}
fcThreshold={1}
fdr={0.05}
labelTop={14}
highlight={{ genes: ifnSet, label: 'IFN-α response' }}
directions={['Higher in mock', 'Higher with IFN-β']}
/>
Related volcano plot charts
- Spectrogram: Time–frequency power in dB on a canvas raster with harmonic callouts and annotation bands, for spotting tones, sweeps and resonances in a…
- Raincloud plot: Half-violin, box plot and raw points per group in one row, so the shape, the summary and every observation are visible at once.
- Histogram with density: A histogram with its kernel density, a fitted normal, quantile tails and a summary box, for judging skew and fit at a glance.
- Kaplan–Meier survival: Survival curves with confidence bands, censor ticks, median guides, a log-rank test and the numbers at risk aligned under the time axis.
- Forest plot: Study estimates sized by weight with a pooled diamond, side table and heterogeneity note, the standard summary of a meta-analysis.
- Regression scatter: A grouped scatter with a least-squares fit, confidence and prediction bands, marginal densities and the fitted equation, with residuals on…