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)
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!
• 4,924 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Oh, I found the answer. It works if adding “sum” after "header".