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
11.83 score 548 stars 2 dependents 2.2k scriptshttpgd - 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.96 score 505 stars 690 scripts 7.2k 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.71 score 110 stars 7 dependents 726 scripts 3.8k 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.24 score 38 stars 87 scripts 636 downloadsMVMR - MVMR
An R package for performing multivariable Mendelian randomization analyses.
Last updated
8.12 score 54 stars 1 dependents 210 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.31 score 25 stars 34 scripts 239 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
7.31 score 25 stars 34 scripts 239 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.09 score 7 stars 22 scripts 584 downloadsvscDebugger - Support for Visual Studio Code Debugger
Provides support for a visual studio code debugger
Last updated
debuggervscode
7.08 score 105 stars 57 scriptsStatamarkdown - 'Stata' Markdown
Settings and functions to extend the 'knitr' 'Stata' engine.
Last updated
6.78 score 60 stars 500 scripts 386 downloadsparglm - Parallel GLM
Provides a parallel estimation method for generalized linear models without compiling with a multithreaded LAPACK or BLAS.
Last updated
openblascpp
6.56 score 2 dependents 50 scripts 1.2k downloadsRadialMR - RadialMR
A package for implementing radial inverse variance weighted and MR-Egger methods.
Last updated
6.53 score 35 stars 4 dependents 147 scriptsRadialMR - RadialMR
A package for implementing radial inverse variance weighted and MR-Egger methods.
Last updated
6.53 score 35 stars 4 dependents 147 scriptsMRPRESSO - 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.27 score 95 stars 3 dependents 438 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
cpp
5.72 score 4 stars 9 scripts 277 downloadsSASmarkdown - 'SAS' Markdown
Settings and functions to extend the 'knitr' 'SAS' engine.
Last updated
5.30 score 21 stars 95 scripts 421 downloadsMRInstruments - Data sources for genetic instruments to be used in MR
Datasets of eQTLs, GWAS catalogs, etc.
Last updated
5.28 score 48 stars 262 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
4.96 score 25 stars 3 dependents 82 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
4.85 score 13 scripts 697 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
4.85 score 13 scripts 697 downloadsRMVMR - RMVMR
An R package for performing radial multivariable Mendelian randomization analyses.
Last updated
4.03 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.65 score 1 stars 1 scriptsquickdag - 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
3.18 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 6 scripts 305 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
