@article {Behr031815, author = {Aaron A. Behr and Katherine Z. Liu and Gracie Liu-Fang and Priyanka Nakka and Sohini Ramachandran}, title = {pong: fast analysis and visualization of latent clusters in population genetic data}, elocation-id = {031815}, year = {2016}, doi = {10.1101/031815}, publisher = {Cold Spring Harbor Laboratory}, abstract = {Motivation A series of methods in population genetics use multilocus genotype data to assign individuals membership in latent clusters. These methods belong to a broad class of mixed-membership models, such as latent Dirichlet allocation used to analyze text corpora. Inference from mixed-membership models can produce different output matrices when repeatedly applied to the same inputs, and the number of latent clusters is a parameter that is often varied in the analysis pipeline. For these reasons, quantifying, visualizing, and annotating the output from mixed-membership models are bottlenecks for investigators across multiple disciplines from ecology to text data mining.Results We introduce pong, a network-graphical approach for analyzing and visualizing membership in latent clusters with a native D3.js interactive visualization. pong leverages efficient algorithms for solving the Assignment Problem to dramatically reduce runtime while increasing accuracy compared to other methods that process output from mixed-membership models. We apply pong to 225,705 unlinked genome-wide single-nucleotide variants from 2,426 unrelated individuals in the 1000 Genomes Project, and identify previously overlooked aspects of global human population structure. We show that pong outpaces current solutions by more than an order of magnitude in runtime while providing a customizable and interactive visualization of population structure that is more accurate than those produced by current tools.Availability pong is freely available and can be installed using the Python package management system pip. pong{\textquoteright}s source code is available at https://github.com/abehr/pong.Contact aaron_behr{at}alumni.brown.edu,sramachandran{at}brown.edu}, URL = {https://www.biorxiv.org/content/early/2016/05/18/031815}, eprint = {https://www.biorxiv.org/content/early/2016/05/18/031815.full.pdf}, journal = {bioRxiv} }