rondolab / MR-PRESSO

Performs the Mendelian Randomization Pleiotropy RESidual Sum and Outlier (MR-PRESSO) method.
81 stars 30 forks source link

Error in xj[i] : invalid subscript type 'list' #4

Closed frankwendt5010 closed 5 years ago

frankwendt5010 commented 5 years ago

I just tried running mr_presso and get the following error. I've already performed the analysis on some different data files, formatted the same, and did not get an error. Any ideas how to fix this?

Error in xj[i] : invalid subscript type 'list'

rondolab commented 5 years ago

Hi, this is probably an error we haven't encountered yet. Would you be able to provide the dataset (or a similar one) for us to replicate the error? Thank you very much. Best.

DanielaZanetti commented 5 years ago

Hi I've just got the same error. Any idea about how can I fix this issue? Attached the dat file. dat.txt

Best Daniela

rondolab commented 5 years ago

Hi, this issue has been fixed and was coming from the fact that all SNPs were detected as outliers at the specified significance threshold. Best.