PLINK LD matrix determine what variants were removed
1
0
Entering edit mode
5.0 years ago
andhamel • 0

Hi everyone,

I am new to PLINK and trying to understand it as I go.

I currently have a list of ~6100 variants and would like to compute an LD matrix for them.

The command I launched was

plink --bfile $binary_name --keep $subset --r --matrix --extract $variant --out $output

The results were successful. The output was indeed an LD matrix.

However, the matrix was an nxn matrix of ~5900 rows, implying ~200 variants were filtered out.

Is there a way to determine which variants were removed?

Thanks in advance!

plink ld SNP • 1.2k views
ADD COMMENT
1
Entering edit mode
5.0 years ago

“plink —bfile ... —extract ... —write-snplist” should tell you what variants weren’t removed; you can then look at the difference between this and your original list.

ADD COMMENT
0
Entering edit mode

Great, thank you! Is it safe to assume that the order of the .snplist file is the same order for the LD matrix?

ADD REPLY
0
Entering edit mode

Yes, that’s a safe assumption.

ADD REPLY

Login before adding your answer.

Traffic: 2433 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