gamazonlab / MR-JTI

MIT License
50 stars 14 forks source link

undesirable behavior in PrediXcan.r script #12

Open Takahiro0113 opened 8 months ago

Takahiro0113 commented 8 months ago

Thanks for your great work !! I have encountered a small undesirable behavior in --generate_db_and_cov mode in PrediXcan.r. When SNPs of eff_allele column in weight file are all "T", it seems to be recognized as logical "TRUE" instead of character. It ends up with characters "TRUE" in eff_allele column in .db file. I guess that this problem could occur with JTI because JTI tends to use fewer SNPs than PrediXcan for prediction.

Best regards, Takahiro