How to calculate polygenic risk score by Plink code
0
0
Entering edit mode
2.2 years ago
Phylicia ▴ 10

I have already successfully calculated the polygenic risk score by this useful tutorial (https://choishingwan.github.io/PRS-Tutorial/plink/).

In this tutorial, the formula of PRS is the sum of (the number of effect allele*effect size), then divided by the total number of used SNPs.

I want to only calculate the sum of (the number of effect allele*effect size). Then I searched and got a tutorial here.(https://www.cog-genomics.org/plink/2.0/formats#sscore)

enter image description here

How could I get the results of <Score name>_SUM,

What the data input and the input data format of the command "--score", and how I could choose to get my target results?

Thanks a lot!

sscore PRS Plink • 2.5k views
ADD COMMENT
0
Entering edit mode

Oh, I found the answer. It works if adding “sum” after "header".

ADD REPLY

Login before adding your answer.

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