TwoSampleMR - Two Sample MR Functions and Interface to MRC Integrative Epidemiology Unit OpenGWAS Database
A package for performing Mendelian randomization using GWAS summary data. It uses the IEU OpenGWAS database <https://opengwas.io> to automatically obtain data, and a wide range of methods to run the analysis.
Last updated
12.24 score 560 stars 4 dependents 2.9k scriptsieugwasr - Interface to the 'OpenGWAS' Database API
Interface to the 'OpenGWAS' database API <https://api.opengwas.io/api/>. Includes a wrapper to make generic calls to the API, plus convenience functions for specific queries.
Last updated
11.71 score 113 stars 9 dependents 1.1k scripts 2.8k downloadshttpgd - A 'HTTP' Server Graphics Device
A graphics device for R that is accessible via network protocols. This package was created to make it easier to embed live R graphics in integrated development environments and other applications. The included 'HTML/JavaScript' client (plot viewer) aims to provide a better overall user experience when dealing with R graphics. The device asynchronously serves graphics via 'HTTP' and 'WebSockets'.
Last updated
cpp
10.87 score 508 stars 686 scripts 5.9k downloadsieugwasr - Interface to the 'OpenGWAS' Database API
Interface to the 'OpenGWAS' database API <https://api.opengwas.io/api/>. Includes a wrapper to make generic calls to the API, plus convenience functions for specific queries.
Last updated
10.50 score 112 stars 7 dependents 1.0k scripts 3.3k downloadsStatamarkdown - 'Stata' Markdown
Settings and functions to extend the 'knitr' 'Stata' engine.
Last updated
quarto
8.63 score 61 stars 582 scripts 518 downloadsStatamarkdown - 'Stata' Markdown
Settings and functions to extend the 'knitr' 'Stata' engine.
Last updated
quarto
8.63 score 61 stars 582 scripts 518 downloadsTrialEmulation - Causal Analysis of Observational Time-to-Event Data
Implements target trial emulation methods to apply randomized clinical trial design and analysis in an observational setting. Using marginal structural models, it can estimate intention-to-treat and per-protocol effects in emulated trials using electronic health records. A description and application of the method can be found in Danaei et al (2013) <doi:10.1177/0962280211403603>.
Last updated
causal-inferencelongitudinal-datasurvival-analysiscpp
8.35 score 44 stars 96 scripts 448 downloadsMVMR - MVMR
An R package for performing multivariable Mendelian randomization analyses.
Last updated
8.32 score 55 stars 1 dependents 386 scriptsvscDebugger - Support for Visual Studio Code Debugger
Provides support for a visual studio code debugger
Last updated
debuggervscode
7.50 score 107 stars 59 scriptsOneSampleMR - One Sample Mendelian Randomization and Instrumental Variable Analyses
Useful functions for one-sample (individual level data) Mendelian randomization and instrumental variable analyses. The package includes implementations of; the Sanderson and Windmeijer (2016) <doi:10.1016/j.jeconom.2015.06.004> conditional F-statistic, the multiplicative structural mean model Hernán and Robins (2006) <doi:10.1097/01.ede.0000222409.00878.37>, and two-stage predictor substitution and two-stage residual inclusion estimators explained by Terza et al. (2008) <doi:10.1016/j.jhealeco.2007.09.009>.
Last updated
instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization
7.46 score 27 stars 38 scripts 584 downloads
SEQTaRget - Sequential Trial Emulation
Implementation of sequential trial emulation for the analysis of observational databases. The 'SEQTaRget' software accommodates time-varying treatments and confounders, as well as binary and failure time outcomes. 'SEQTaRget' allows to compare both static and dynamic strategies, can be used to estimate observational analogs of intention-to-treat and per-protocol effects, and can adjust for potential selection bias induced by losses-to-follow-up. (Paper to come).
Last updated
as-treatedbiostatisticscausal-inferenceepidemiologyinitiatorsintention-to-treatper-protocol
7.29 score 9 stars 26 scripts 340 downloadsparglm - Parallel GLM
Provides a parallel estimation method for generalized linear models without compiling with a multithreaded LAPACK or BLAS.
Last updated
openblascpp
6.93 score 2 dependents 54 scripts 915 downloadsOneSampleMR - One Sample Mendelian Randomization and Instrumental Variable Analyses
Useful functions for one-sample (individual level data) Mendelian randomization and instrumental variable analyses. The package includes implementations of; the Sanderson and Windmeijer (2016) <doi:10.1016/j.jeconom.2015.06.004> conditional F-statistic, the multiplicative structural mean model Hernán and Robins (2006) <doi:10.1097/01.ede.0000222409.00878.37>, and two-stage predictor substitution and two-stage residual inclusion estimators explained by Terza et al. (2008) <doi:10.1016/j.jhealeco.2007.09.009>.
Last updated
instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization
6.76 score 27 stars 38 scripts 584 downloadsMRPRESSO - Performs the Mendelian Randomization Pleiotropy RESidual Sum and Outlier (MR-PRESSO) test.
MR-PRESSO (Mendelian Randomization Pleiotropy RESidual Sum and Outlier) is a framework that allows for the evaluation of pleiotropy in multi-instrument Mendelian Randomization utilizing genome-wide summary association statistics.
Last updated
6.67 score 97 stars 5 dependents 636 scriptsRadialMR - RadialMR
A package for implementing radial inverse variance weighted and MR-Egger methods.
Last updated
6.58 score 34 stars 5 dependents 148 scriptsRadialMR - RadialMR
A package for implementing radial inverse variance weighted and MR-Egger methods.
Last updated
6.43 score 34 stars 4 dependents 146 scriptsmrbayes - Bayesian Summary Data Models for Mendelian Randomization Studies
Bayesian estimation of inverse variance weighted (IVW), Burgess et al. (2013) <doi:10.1002/gepi.21758>, and MR-Egger, Bowden et al. (2015) <doi:10.1093/ije/dyv080>, summary data models for Mendelian randomization analyses.
Last updated
onetbbcpp
5.85 score 5 stars 9 scripts 449 downloadsMRInstruments - Data sources for genetic instruments to be used in MR
Datasets of eQTLs, GWAS catalogs, etc.
Last updated
5.34 score 49 stars 299 scriptsMRMix - Mendelian Randomization Analysis Using Mixture Models (MRMix)
This package gives robust estimation of causal effects by conducting Mendelian randomization analysis using a mixture model approach.
Last updated
5.22 score 25 stars 5 dependents 88 scriptsbpbounds - Nonparametric Bounds for the Average Causal Effect Due to Balke and Pearl and Extensions
Implementation of the nonparametric bounds for the average causal effect under an instrumental variable model by Balke and Pearl (Bounds on Treatment Effects from Studies with Imperfect Compliance, JASA, 1997, 92, 439, 1171-1176, <doi:10.1080/01621459.1997.10474074>). The package can calculate bounds for a binary outcome, a binary treatment/phenotype, and an instrument with either 2 or 3 categories. The package implements bounds for situations where these 3 variables are measured in the same dataset (trivariate data) or where the outcome and instrument are measured in one study and the treatment/phenotype and instrument are measured in another study (bivariate data).
Last updated
aceaverage-causal-effectboundsinstrumental-variableivmendelianmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomizationmrnonparametricnonparametric-boundspearlshiny
5.09 score 19 scripts 485 downloadsbpbounds - Nonparametric Bounds for the Average Causal Effect Due to Balke and Pearl and Extensions
Implementation of the nonparametric bounds for the average causal effect under an instrumental variable model by Balke and Pearl (Bounds on Treatment Effects from Studies with Imperfect Compliance, JASA, 1997, 92, 439, 1171-1176, <doi:10.1080/01621459.1997.10474074>). The package can calculate bounds for a binary outcome, a binary treatment/phenotype, and an instrument with either 2 or 3 categories. The package implements bounds for situations where these 3 variables are measured in the same dataset (trivariate data) or where the outcome and instrument are measured in one study and the treatment/phenotype and instrument are measured in another study (bivariate data).
Last updated
aceaverage-causal-effectboundsinstrumental-variableivmendelianmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomizationmrnonparametricnonparametric-boundspearlshiny
5.09 score 19 scripts 485 downloadsSASmarkdown - 'SAS' Markdown
Settings and functions to extend the 'knitr' 'SAS' engine.
Last updated
4.97 score 21 stars 88 scripts 390 downloadsRMVMR - RMVMR
An R package for performing radial multivariable Mendelian randomization analyses.
Last updated
4.29 score 13 stars 15 scriptsknitexercise - Knit Exercise Questions and Solutions from the Same R Markdown Document
Provides a function to knit questions and solutions documents from the same R Markdown document.
Last updated
exercisesknitrrmarkdown
3.70 score 1 starsquickdag - Make Beautiful Directed Acyclic Graphs
This package allows the user the save directed acyclic graphs (DAGs) generated in DiagrammeR and export them to PDF, PNG, SVG, or PS format. Users may optionally choose to view the DAG without saving or to embed it in a document. In addition, quickdag allows the user easily to reformat DAGs as single-world intervention graph (SWIG) templates.
Last updated
causal-inferencediagramsdirected-acyclic-graphsepidemiology
2.78 score 6 stars 7 scriptstmsens - Sensitivity Analysis Using the Trimmed Means Estimator
Sensitivity analysis using the trimmed means estimator.
Last updated
missing-datasensitivity-analysistrimmed-means
2.70 score 1 stars 5 scripts 335 downloadsdd4d - Dummy Data for Dummies
Allows you to specify and sample from a Bayesian Network (a.k.a. a parametric Directed Acyclic Graph, or pDAG).
Last updated
2.30 score 2 stars 9 scripts