Visualizing population structure with variational autoencoders
Open Access
- 1 January 2021
- journal article
- research article
- Published by Oxford University Press (OUP) in G3: Genes, Genomes, Genetics
- Vol. 11 (1) , 1-11
Abstract
Dimensionality reduction is a common tool for visualization and inference of population structure from genotypes, but popular methods either return too many dimensions for easy plotting (PCA) or fail to preserve global geometry (t-SNE and UMAP). Here we explore the utility of variational autoencoders (VAEs)—generative machine learning models in which a pair of neural networks seek to first compress and then recreate the input data—for visualizing population genetic variation. VAEs incorporate nonlinear relationships, allow users to define the dimensionality of the latent space, and in our tests preserve global geometry better than t-SNE and UMAP. Our implementation, which we call popvae, is available as a command-line python program at github.com/kr-colab/popvae. The approach yields latent embeddings that capture subtle aspects of population structure in humans and Anopheles mosquitoes, and can generate artificial genotypes characteristic of a given sample or population.Keywords
All Related Versions
Funding Information
- NIH (R01GM117241, F32GM136123)
- NIH (R01GM117241, R01HG010774)
This publication has 46 references indexed in Scilit:
- Investigation of Inversion Polymorphisms in the Human Genome Using Principal Components AnalysisPLOS ONE, 2012
- Differential confounding of rare and common variants in spatially structured populationsNature Genetics, 2012
- Inferring the Joint Demographic History of Multiple Populations from Multidimensional SNP Frequency DataPLOS Genetics, 2009
- A Genealogical Interpretation of Principal Components AnalysisPLOS Genetics, 2009
- adegenet: a R package for the multivariate analysis of genetic markersBioinformatics, 2008
- Principal components analysis corrects for stratification in genome-wide association studiesNature Genetics, 2006
- Population Structure and EigenanalysisPLOS Genetics, 2006
- Assessing the impact of population stratification on genetic association studiesNature Genetics, 2004
- Genetic Structure of Human PopulationsScience, 2002
- Genetic Dissection of Complex TraitsScience, 1994