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://gwas.mrcieu.ac.uk/> to automatically obtain data, and a wide range of methods to run the analysis.
Last updated 16 days ago
11.21 score 461 stars 1 dependents 1.8k scriptsieugwasr - Interface to the 'OpenGWAS' Database API
Interface to the 'OpenGWAS' database API <https://gwas-api.mrcieu.ac.uk/>. Includes a wrapper to make generic calls to the API, plus convenience functions for specific queries.
Last updated 8 months ago
10.61 score 88 stars 6 dependents 366 scripts 2.9k 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 5 hours ago
causal-inferencelongitudinal-datasurvival-analysiscpp
7.72 score 25 stars 29 scripts 351 downloadsvscDebugger - Support for Visual Studio Code Debugger
Provides support for a visual studio code debugger
Last updated 3 months ago
debuggervscode
6.93 score 94 stars 15 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 1 days ago
instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization
6.66 score 19 stars 16 scripts 290 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 1 days ago
instrumental-variableinstrumental-variablesmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomization
6.66 score 19 stars 16 scripts 290 downloadsStatamarkdown - 'Stata' Markdown
Settings and functions to extend the 'knitr' 'Stata' engine.
Last updated 1 years ago
6.16 score 59 stars 490 scripts 332 downloadsmrbayes - 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 1 days ago
cpp
5.38 score 4 stars 2 scripts 374 downloadsmrbayes - 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 1 days ago
cpp
5.38 score 4 stars 2 scripts 374 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.2307/2965583>). 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 1 days ago
aceaverage-causal-effectboundsinstrumental-variableivmendelianmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomizationmrnonparametricnonparametric-boundspearlshiny
4.92 score 12 scripts 757 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.2307/2965583>). 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 1 days ago
aceaverage-causal-effectboundsinstrumental-variableivmendelianmendelian-randomisationmendelian-randomizationmendelianrandomisationmendelianrandomizationmrnonparametricnonparametric-boundspearlshiny
4.92 score 12 scripts 757 downloadsknitexercise - 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 3 hours ago
exercisesknitrrmarkdown
3.81 score 1 stars 1 scriptstmsens - Sensitivity Analysis Using the Trimmed Means Estimator
Sensitivity analysis using the trimmed means estimator.
Last updated 6 months ago
missing-datasensitivity-analysistrimmed-means
2.70 score 1 stars 1 scripts 171 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 months ago
2.30 score 2 stars 9 scripts