tskitargvisualizer: interactive plotting of ancestral recombination graphs

Abstract

Summary: Ancestral recombination graphs (ARGs) are a complete representation of the genetic relationships between recombining lineages and are of central importance in population genetics. Recent breakthroughs in simulation and inference methods have led to a surge of interest in ARGs. However, understanding how best to take advantage of the graphical structure of ARGs remains an open question for researchers. Here, we introduce tskitargvisualizer, a Python package for programmatically drawing ARGs using the interactive D3.js visualization library. We highlight the usefulness of this visualization tool for both teaching ARG concepts and exploring ARGs inferred from empirical datasets. Availability and implementation: The latest stable version of tskitargvisualizer is available through the Python Package Index (https://pypi.org/project/tskit-arg-visualizer, currently v0.1.0). Documentation and the development version of the package are found on GitHub (https://github.com/kitchensjn/tskitargvisualizer). Supplementary materials: Methods for creating the example ARGs seen in Figure 1 can be found in the supplementary materials.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…