Package: TwoSampleMR 0.7.7
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.
Authors:
TwoSampleMR_0.7.7.tar.gz
TwoSampleMR_0.7.7.zip(r-4.7)TwoSampleMR_0.7.7.zip(r-4.6)TwoSampleMR_0.7.7.zip(r-4.5)
TwoSampleMR_0.7.7.tgz(r-4.6-any)TwoSampleMR_0.7.7.tgz(r-4.5-any)
TwoSampleMR_0.7.7.tar.gz(r-4.7-any)TwoSampleMR_0.7.7.tar.gz(r-4.6-any)
TwoSampleMR_0.7.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
TwoSampleMR/json (API)
NEWS
| # Install 'TwoSampleMR' in R: |
| install.packages('TwoSampleMR', repos = c('https://mrcieu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mrcieu/twosamplemr/issues
Pkgdown/docs site:https://mrcieu.github.io
Last updated from:f7c64ba6a5. Checks:8 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 310 | ||
| source / vignettes | OK | 334 | ||
| linux-release-x86_64 | OK | 322 | ||
| macos-release-arm64 | OK | 158 | ||
| macos-oldrel-arm64 | OK | 256 | ||
| windows-devel | OK | 274 | ||
| windows-release | OK | 300 | ||
| windows-oldrel | OK | 269 | ||
| wasm-release | FAIL | 1435 |
Exports:%>%add_metadataadd_rsqallele_frequencyavailable_outcomesclump_datacombine_all_mrresultscombine_datacontingencyconvert_outcome_to_exposuredat_to_MRInputdat_to_RadialMRdefault_parametersdirectionality_testeffective_nenrichmentenrichment_method_listestimate_trait_sdextract_instrumentsextract_outcome_datafishers_combined_testforest_plotforest_plot_1_to_manyformat_1_to_manyformat_aries_mqtlformat_dataformat_gtex_eqtlformat_gwas_catalogformat_metab_qtlsformat_mr_resultsformat_proteomic_qtlsgenerate_odds_ratiosget_p_from_r2nget_population_allele_frequencyget_r_from_bsenget_r_from_lorget_r_from_pnget_seharmonise_dataharmonise_ld_datIsqld_matrixldsc_h2ldsc_rgmake_datmrmr_density_plotmr_egger_regressionmr_egger_regression_bootstrapmr_forest_plotmr_funnel_plotmr_gripmr_heterogeneitymr_ivwmr_ivw_femr_ivw_mremr_ivw_radialmr_leaveoneoutmr_leaveoneout_plotmr_medianmr_meta_fixedmr_meta_fixed_simplemr_meta_randommr_method_listmr_modemr_moemr_penalised_weighted_medianmr_pleiotropy_testmr_rapsmr_reportmr_ruckermr_rucker_bootstrapmr_rucker_cooksdistancemr_rucker_jackknifemr_scatter_plotmr_signmr_simple_medianmr_simple_modemr_simple_mode_nomemr_singlesnpmr_steigermr_steiger2mr_two_sample_mlmr_uwrmr_wald_ratiomr_weighted_medianmr_weighted_modemr_weighted_mode_nomemr_wrappermv_basicmv_extract_exposuresmv_extract_exposures_localmv_harmonise_datamv_ivwmv_lasso_feature_selectionmv_multiplemv_residualmv_subsetpower_pruneread_exposure_dataread_outcome_datarun_mr_pressorun_mrmixsize.prunesort_1_to_manysplit_exposuresplit_outcomestandardise_unitssteiger_filteringsteiger_sensitivitysubset_on_methodtrimweighted_medianweighted_median_bootstrap
Dependencies:askpassbase64encbslibcachemclicodetoolscowplotcpp11crosstalkcurldata.tabledigestdplyrevaluatefarverfastmapfontawesomeforeachfsgenericsggplot2glmnetglueGPArotationgridExtragtablehighrhtmltoolshtmlwidgetshttrieugwasrisobanditeratorsjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMASSMatrixmemoisemimemnormtMRMixMRPRESSOnlmeopensslotelpbapplypillarpkgconfigplotlypromisespsychpurrrR6RadialMRrappdirsRColorBrewerRcppRcppEigenrlangrmarkdownS7sassscalesshapestringistringrsurvivalsystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyaml
Exposure data
Rendered fromexposure.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2026-05-15
Started: 2020-01-11
Harmonise data
Rendered fromharmonise.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2025-08-27
Started: 2020-01-11
Introduction
Rendered fromintroduction.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2026-05-15
Started: 2020-01-11
Major changes to the IEU GWAS resources for 2020
Rendered fromgwas2020.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2026-05-04
Started: 2020-01-11
Outcome data
Rendered fromoutcome.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2026-05-04
Started: 2020-01-11
Perform MR
Rendered fromperform_mr.Rmdusingknitr::rmarkdownon Jun 07 2026.Last update: 2026-06-07
Started: 2020-01-11
