{
  "filename": "plot_5.png",
  "iteration": 3,
  "description": "Mouse model evidence for MSH3: Apc mutation spectrum shift to frameshifts, absence of a single-mutant intestinal tumour phenotype, and IMPC null phenotypes",
  "timestamp": "2026-11-26 20:00:03",
  "code": "\nimport matplotlib.pyplot as plt\nimport numpy as np\n\nfig, axes = plt.subplots(1, 3, figsize=(16, 5.2))\n\n# Panel A: Apc mutation spectrum in Apc1638N mouse tumours (Kuraguchi 2001, PMID 11691815)\nax = axes[0]\ngen = [\"Msh6-/-\\nApc1638N\", \"Msh3-/- Msh6-/-\\nApc1638N\"]\nbase = np.array([93, 46]); fs = np.array([7, 54])\nax.bar(gen, base, color=\"#4C72B0\", label=\"base substitution (stop codon)\")\nax.bar(gen, fs, bottom=base, color=\"#DD8452\", label=\"frameshift indel\")\nfor i,(b,f) in enumerate(zip(base, fs)):\n    ax.text(i, b/2, f\"{b}%\", ha=\"center\", va=\"center\", color=\"white\", fontsize=11, fontweight=\"bold\")\n    ax.text(i, b+f/2, f\"{f}%\", ha=\"center\", va=\"center\", color=\"white\", fontsize=11, fontweight=\"bold\")\nax.set_ylabel(\"share of tumour-associated Apc mutations (%)\")\nax.set_title(\"A. Msh3 loss shifts somatic Apc mutations\\nto frameshifts (PMID 11691815, mouse)\", fontsize=10.5)\nax.legend(fontsize=8.5, loc=\"lower center\"); ax.set_ylim(0, 112)\n\n# Panel B: intestinal tumour multiplicity fold change on Apc1638N background\nax = axes[1]\nlabels = [\"Apc1638N\", \"Msh3-/-\\nApc1638N\", \"Msh6-/-\\nApc1638N\", \"Msh3-/- Msh6-/-\\nApc1638N\"]\nfold = [1.0, 1.0, 6.5, 6.5]\ncols = [\"#8C8C8C\", \"#55A868\", \"#C44E52\", \"#C44E52\"]\nax.bar(labels, fold, color=cols)\nax.axhline(1.0, color=\"#333333\", lw=1, ls=\"--\")\nax.text(1, 1.25, \"no difference\\nin multiplicity\\nor survival\", ha=\"center\", fontsize=8.5, color=\"#2d6a4f\")\nax.text(3, 5.2, \"survival further\\nreduced vs Msh6-/-\\n(younger onset)\", ha=\"center\", fontsize=8.5, color=\"white\")\nax.set_ylabel(\"intestinal tumour multiplicity (fold vs Apc1638N)\")\nax.set_title(\"B. Single Msh3 loss does not increase mouse\\nintestinal tumours; it acts with Msh6\", fontsize=10.5)\nax.tick_params(axis=\"x\", labelsize=8.5)\n\n# Panel C: IMPC Msh3 homozygote significant calls\nax = axes[2]\nph = [\"enlarged kidney\", \"abnormal kidney\\nmorphology\", \"cataract\", \"abnormal vitreous\\nbody morphology\", \"abnormal retina\\nmorphology\"]\npv = [1e-12, 1e-12, 3.18e-10, 2.92e-10, 4.38e-5]\nax.barh(ph, [-np.log10(p) for p in pv], color=\"#937860\")\nax.set_xlabel(\"-log10 p (IMPC homozygote vs control)\")\nax.set_title(\"C. IMPC Msh3-null mouse pipeline: eye and kidney\\ncalls only, no intestinal or tumour phenotype\", fontsize=10.5)\nax.tick_params(axis=\"y\", labelsize=8.5)\nax.text(0.98, 0.06, \"p reported as 0.0 for kidney calls,\\nplotted at 1e-12\", transform=ax.transAxes,\n        ha=\"right\", fontsize=7.5, color=\"#555555\")\n\nplt.tight_layout(); plt.show()\n",
  "plot_number": 5
}