Mutation Lollipop Plot Explained: Hotspots, Protein Domains and Interpretation

Updated November 7, 2026 · StatFAS Guides · Reading time about 8 minutes

Researchers meet the mutation lollipop plot in papers on genomics, medicine and biology, yet many readers struggle to read the mutation lollipop plot correctly. This guide explains the mutation lollipop plot, shows when the mutation lollipop plot helps, lists the points that matter for interpretation, and gives working routes to build the mutation lollipop plot in SPSS, R, Python and online.

On this page
  1. What is a mutation lollipop plot?
  2. When should you use a mutation lollipop plot?
  3. Why use a mutation lollipop plot?
  4. How to interpret a mutation lollipop plot
  5. Common mistakes
  6. How to make a mutation lollipop plot in SPSS, R and Python
  7. The easy way: make a mutation lollipop plot on statfas.com
  8. How to report the results in APA 7
  9. Frequently asked questions

What is a mutation lollipop plot?

A mutation lollipop plot maps mutations onto a protein or gene sequence. The horizontal axis is the amino-acid (or nucleotide) position. Each mutated position carries a vertical line with a circle on top, which resembles a lollipop. The height of the stick shows how many mutations were observed at that position.

Colour usually shows the mutation type (missense, nonsense, frameshift), and a track below the axis shows protein domains. Tall sticks reveal mutation hotspots.

When should you use a mutation lollipop plot?

Why use a mutation lollipop plot?

How to interpret a mutation lollipop plot

These are the key points for reading the mutation lollipop plot correctly:

Common mistakes with the mutation lollipop plot

Make a mutation lollipop plot now
Upload or paste data and get the mutation lollipop plot, the statistics and an APA 7 write-up in seconds.
Open the free Mutation Lollipop Plot Maker

How to make a mutation lollipop plot in SPSS, R and Python

Full scripts are in the step-by-step Mutation Lollipop Plot Tutorial: R, Python, SPSS and Free Online Tool. The key commands are shown here.

SPSS

SPSS has no lollipop plot, but a thin-bar chart approximates the picture and the Poisson and binomial functions (CDF.POISSON, CDF.BINOM) compute hotspot and domain tests.

COMPUTE pWindow = 1 - CDF.POISSON(obs - 1, expected).

R

ggplot2 draws the mutation lollipop plot with geom_segment() and geom_point(); base R functions supply the Poisson and binomial tests. The trackViewer and g3viz packages offer ready-made lollipop plots.

ggplot(pos, aes(Position, Count)) + geom_segment(aes(xend = Position, yend = 0)) + geom_point()

Python

Matplotlib draws the stems and circles; SciPy provides the Poisson and binomial tests for hotspots and domains.

plt.vlines(pos.index, 0, pos.values)
plt.scatter(pos.index, pos.values)

The easy way: make a mutation lollipop plot on statfas.com

The free Mutation Lollipop Plot Maker on statfas.com runs the required statistics, draws a publication-ready figure and writes the interpretation in APA 7 style. No installation and no coding are needed:

  1. Open the tool. Go to the StatFAS Mutation Lollipop Plot Maker.
  2. Add data. Click Load example data to see the layout and the domain list, then paste or upload your mutation table.
  3. Enter protein details. Type the gene name, the protein length, the domains (Name, start, end) and the hotspot window size.
  4. Read the results. The tool draws the mutation lollipop plot, counts mutation types, scans for hotspots with a Poisson test and tests domain enrichment with exact binomial tests.
  5. Download. Download the PNG or SVG, or a Word file with the figure, three tables and the APA 7 interpretation.

How to report the results in APA 7

An example results paragraph for the mutation lollipop plot:

A total of 372 mutations at 81 distinct positions of TP53 (393 amino acids) were mapped. Missense mutations were most common (83.6%). A sliding-window Poisson scan (10-residue windows, Benjamini–Hochberg correction) identified significant hotspot regions, and mutations were significantly enriched in the DNA-binding domain (325 observed vs. 180.8 expected; p < .001; Figure 1).

Adapt the numbers to the data, state thresholds before the analysis, and cite the software used.

Frequently asked questions

What does a mutation lollipop plot show?

A mutation lollipop plot shows the position of mutations along a protein, with stick height for the number of mutations and colour for the mutation type, usually with a domain track below.

How do I find mutation hotspots?

Count mutations in sliding windows and compare each window with the expected count under a uniform distribution using a Poisson test, then correct for the number of windows.

What is a protein domain track?

The domain track draws functional regions (for example a DNA-binding domain) as boxes along the protein axis, taken from databases such as UniProt or Pfam.

Can a lollipop plot be used for nucleotide positions?

Yes. The same plot works for nucleotide positions of a gene or for genomic coordinates, as long as positions and domain coordinates use the same reference.

Related guides

Mutation Lollipop Plot Tutorial: R, Python, SPSS and Free Online ToolManhattan Plot Explained: GWAS Meaning, Significance Lines and InterpretationEnrichment Dot Plot Explained: GO and KEGG Over-Representation AnalysisFree tool: Mutation Lollipop Plot Maker

How to cite this page: StatFAS. (2026, November 7). Mutation Lollipop Plot Explained: Hotspots, Protein Domains and Interpretation. https://statfas.com/blogs/mutation-lollipop-plot-explained-hotspots-domains