This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to calculate polygenic risk score by Plink code

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

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

0 answers

No answers yet.

Log in to answer this question.