Skip to content

Violin — Count Distribution

In the app: Expression › Violin

The Violin report shows the same data as Box — DESeq2-normalised counts on a log2 scale, per sample group — but draws the whole shape of each distribution. The wider a violin is at a given height, the more genes sit at that expression level. Like Box, it is a quality check: a library that sits apart from the others is the thing to look for.

Violin — example output

Example output from the sample project.

Findings

The same as Box:

  • how many genes and samples the plot covers;
  • a caution when a group has fewer than four replicates;
  • a caution naming a sample whose upper quartile sits well above or below the others, or that carries almost no expression;
  • when the project has more than 2,000 genes, a note that the plot is drawn from 2,000 of them while the summary statistics use every gene.

Count distribution plot

Titled Normalised Count Distribution — All Genes, with Sample Group on the x-axis and log2(Normalised Count + 1) on the y-axis. Each group is a violin with a small box plot inside it. Groups are taken from the sample names with the trailing replicate number dropped.

With a gene filter set in Report settings, a second plot, Normalised Count Distribution — Filtered Genes, appears.

Raw data

Raw data — Summary statistics, all genes — one row per group, from every gene, on the log2(count + 1) scale: group, mean, std, min, 25%, 50%, 75%, max. The table is identical to Box's. With a gene filter set, Raw data — Summary statistics, filtered genes follows.

Report settings that apply

Filter by gene ID and Filter by gene desc add the filtered-genes plot and table; Appearance sets plot size, colours and font. The contrast and thresholds do not change this report. See Report Settings.

Reading it

Violins reveal what a box hides: a distribution with two humps (bimodal) or a long shoulder. In RNA-seq a large bulge near zero is normal — many genes are barely expressed. What matters is whether the groups share the same shape; a group whose violin is shifted or reshaped suggests a library-level problem.