gqi / MRMix

R package for performing Mendelian Randomization using mixture models
22 stars 8 forks source link

Inquiry on the run time of MRMix() #3

Closed DrVincentL closed 10 months ago

DrVincentL commented 10 months ago

May I ask if it is normal for me to run MRMix() in R language for three hours without any results? I have observed that the computer's memory usage is wavy. The screenshot has been attached.

4f184f01d7a3c28d3026eee6993cd71

gqi commented 10 months ago

Thanks for your interest. We normally expect MRMix to run mush faster. How many SNPs are in your dataset?

DrVincentL commented 10 months ago

Because it was unprocessed data, we used around 3000 SNPs (P values less than 5e-8, excluding LD) at the time, and this situation occurred

Afterward, we filtered and cleaned the data, and the number of SNPs increased to 170, at this point, the speed was acceptable. The problem has been solved now. Thank you for your attention!