ld-pruning to a specific number of SNPs
1
1
Entering edit mode
4.2 years ago

Hi everyone,

I was wondering if there is a way to do the Ld-pruning to a specific number of SNPs. For example, I have 5 million SNPs and I want to prune the SNPs and keep only 1 million of them, rather than specifying a window size and r2.

Many thanks

LD Plink ld-pruning linkage • 1.2k views
ADD COMMENT
2
Entering edit mode
4.2 years ago

This is not directly supported, but you can achieve the same effect by choosing an appropriate window size/r2 which yields slightly more SNPs, and then following up with plink --bfile <mostly-pruned dataset> --thin-count 1000000 --make-bed --out ....

ADD COMMENT

Login before adding your answer.

Traffic: 1793 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6