Measuring linkage disequilibrium and improvement of pruning and clumping in structured populations | Synapse