Package: GraphMRcML 0.1.0
GraphMRcML: Causal Network Inference via Mendelian Randomization with cML and Network Deconvolution
Combines Mendelian randomization (constrained maximum likelihood, cML) and network deconvolution for inference of causal networks from GWAS summary data, as described in Lin, Xue, and Pan (2023) <doi:10.1371/journal.pgen.1010762>.
Authors:
GraphMRcML_0.1.0.tar.gz
GraphMRcML_0.1.0.zip(r-4.7)GraphMRcML_0.1.0.zip(r-4.6)GraphMRcML_0.1.0.zip(r-4.5)
GraphMRcML_0.1.0.tgz(r-4.6-any)GraphMRcML_0.1.0.tgz(r-4.5-any)
GraphMRcML_0.1.0.tar.gz(r-4.7-any)GraphMRcML_0.1.0.tar.gz(r-4.6-any)
GraphMRcML_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
GraphMRcML/json (API)
| # Install 'GraphMRcML' in R: |
| install.packages('GraphMRcML', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zhaotongl/graphmrcml/issues
Last updated from:a094208265 (on refs/pull/2/head). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 104 | ||
| source / vignettes | OK | 148 | ||
| linux-release-x86_64 | OK | 1252 | ||
| macos-release-arm64 | OK | 81 | ||
| macos-oldrel-arm64 | OK | 109 | ||
| windows-devel | OK | 70 | ||
| windows-release | OK | 68 | ||
| windows-oldrel | OK | 62 | ||
| wasm-release | OK | 98 |
Exports:cML_estimate_OcML_estimate_random_OcML_SdTheta_OGenerate_PerturbGraph_EstimateGraph_PerturbGraph_Screenloglikmr_cML_DP_Omr_cML_Oplot_graphsubset_Graph_d1
Dependencies:clicpp11dplyrgenericsglueigraphlatticelifecyclemagrittrMASSMatrixpbmcapplypillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Constrained maximum likelihood estimate (single start) | cML_estimate_O |
| Constrained MLE with random restarts | cML_estimate_random_O |
| Standard error of the cML causal-effect estimate | cML_SdTheta_O |
| Generate one LD-aware perturbed copy of the GWAS estimates | Generate_Perturb |
| Estimate the pairwise causal-effect graph | Graph_Estimate |
| GraphMRcML with data perturbation | Graph_Perturb |
| Screen instruments and prepare LD-aware perturbation matrices | Graph_Screen |
| Profile log-likelihood for the cML model | loglik |
| MR-cML with data perturbation | mr_cML_DP_O |
| Mendelian randomization via cML with BIC selection | mr_cML_O |
| Build an igraph object for a GraphMRcML summary graph | plot_graph |
| Summarise GraphMRcML perturbation results for a subset of traits | subset_Graph_d1 |
