The earlier vertion of AncestryPainter is a Perl program to display the ancestry composition of numerous individuals using a rounded graph. Motivated by the requests of users in practical applications, we updated AncestryPainter to version 2.0 by coding in an R package and improving the layout, providing more options and compatible statistical functions for graphing. Apart from improving visualization functions per se in this update, we added an extra graphing module to visualize genetic distance through radial bars of varying lengths surrounding a core. Notably, AncestryPainter 2.0 implements a method admixture history graph (AHG) to infer the admixture sequence of multiple ancestry populations, and allows for multiple pie charts at the center of the graph to display the ancestry composition of more than one target population. We validated the six AHG metrics using both simulated and real data and implemented a Pearson coefficient-based metric with the best performance in AncestryPainter 2.0. Furthermore, a statistical module to merge ancestry proportion matrices. AncestryPainter 2.0 is freely available at https://github.com/Shuhua-Group/AncestryPainterV2 and https://pog.fudan.edu.cn/#/Software.
Read full abstract