Test principles: in UKB samples with European (blue) and African (red) ancestries, a causal variant contributing to a trait is captured by a tag SNP whose predictive power (pink arrow thickness) varies by local ancestry (upper versus lower chromosomes), or nonlocal factors captured by genome-wide global ancestry (left versus right individuals); ANCHOR separates these contributions to PGS portability.