choishingwan / PRS-Tutorial

A tutorial on how to run basic polygenic risk score analysis
MIT License
68 stars 104 forks source link

a typo? map <- obj.bigSNP$map[-2] #14

Closed XcodeBio closed 3 years ago

XcodeBio commented 3 years ago

Hi Sam,

Thank you very much for the wonderful PRS tutorial. It is very helpful.

I was going through your LDpred-2 tutorial and I there might be a typo in section 3 ("Reformat data in preparation of LDpred2").

extract the SNP information from the genotype

map <- obj.bigSNP$map[-2]

Should this be: map <- obj.bigSNP$map[-3]

Thanks

choishingwan commented 3 years ago

You are correct. I think there might have been a version change to bigsnpr which changes some of the data structure. Will try to update this part of the tutorial now.

On Wed, Nov 4, 2020 at 10:29 AM XcodeBio notifications@github.com wrote:

Hi Sam,

Thank you very much for the wonderful PRS tutorial. It is very helpful.

I was going through your LDpred-2 tutorial and I there might be a typo in section 3 ("Reformat data in preparation of LDpred2"). extract the SNP information from the genotype

map <- obj.bigSNP$map[-2]

Should this be: map <- obj.bigSNP$map[-3]

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/choishingwan/PRS-Tutorial/issues/14, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJTRYRLAZ5LBNLTMVOPKNTSOFXNBANCNFSM4TKGBUWA .

XcodeBio commented 3 years ago

Thank you!