a, Leave-one-country-out strategy was performed to test the performance of PRS on SHA1 (Chinese), KOR1 (Korean), and JPN1 (Japanese) subjects, respectively. The prediction accuracy was measured as R2 on the liability scale using the population prevalence (Methods). For the testing cohort, we randomly split subjects into validation and testing 100 times (Methods). All other EAS cohorts were used as discovery. Results are plotted as mean value ± 95% confidence interval of R2 across the 100 replicates (error bar). b, Effective sample size of training datasets, calculated as 4/(1/ncase+1/ncontrol).