gqi / mrmix Goto Github PK
View Code? Open in Web Editor NEWR package for performing Mendelian Randomization using mixture models
R package for performing Mendelian Randomization using mixture models
Hi Guanghao,
Recently I found that MRmix sometimes gives very significant P-value along with the following information:
> MRMix(bzx, bzy, sx=bzx_se, sy=bzy_se, theta_temp_vec = seq(-1,1,by=0.01))
$theta
[1] -0.09
$pi0
[1] 0.9999
$sigma2
[1] 5.662289e-05
$SE_theta
[1] 0.02252094
$zstat_theta
[1] -3.99628
$pvalue_theta
[1] 6.434561e-05
Warning message:
In MRMix(bzx, bzy, sx = bzx_se, sy = bzy_se, theta_temp_vec = seq(-1, :
Algorithm may not have converged.
I was wondering how should I interpret this result. And is there any way to make it converged and provide more robust estimate?
Thank you!
Cheers,
Angli
Hi,
I tried to install the package but got errors like below,
> devtools::install_local("MRMix-master.zip")
Installing package into ‘/R/x86_64-pc-linux-gnu-library/3.2’
(as ‘lib’ is unspecified)
* installing *source* package ‘MRMix’ ...
** R
** data
*** moving datasets to lazyload DB
Warning: file ‘BMI15_MDD18.RData’ has magic number 'RDX3'
Use of save versions prior to 2 is deprecated
Error : bad restore file magic number (file may be corrupted) -- no data loaded
ERROR: lazydata failed for package ‘MRMix’
* removing ‘/R/x86_64-pc-linux-gnu-library/3.2/MRMix’
Error: Failed to install 'MRMix-master.zip' from local:
(converted from warning) installation of package ‘/RtmpExLT8m/remotes327a172e97f4/MRMix-master’ had non-zero exit status
I have also tried other ways to install the package but none works. Do you have any solution to that?
Thanks!
Alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.