Releases: MRCIEU/TwoSampleMR
Releases · MRCIEU/TwoSampleMR
TwoSampleMR 0.6.21
- Fixed typos in Steiger related documentation (thanks to @eleanorsanderson and Kaitlin Wade for providing the motivating example for this).
- Some code cleanup to make debugging easier.
- Reduced size of installed package by removing some unused files.
TwoSampleMR 0.6.20
- TwoSampleMR now requires ieugwasr version 1.1.0 which provides improved error messages.
- Changed error handling - now if the API gives an error code it is propagated as an error with message in TwoSampleMR.
- Headers sent to API are updated.
TwoSampleMR 0.6.19
- Further fixes for the forthcoming version 4 of ggplot2.
TwoSampleMR 0.6.18
- Fixes to
mr_forest_plot(),forest_plot_1_to_many(),mr_leaveoneout_plot(), andmr_scatter_plot()for compatibility with the forthcoming release of version 4 of ggplot2. - Made some minor improvements in the Perform MR vignette including adding back several of the forest plots.
TwoSampleMR 0.6.17
- Continued amends to the plot for MR-GRIP (thanks @fdudbridge)
TwoSampleMR 0.6.16
- Added weak instrument adjustment estimate and intercept to returned output of
mr_grip()(thanks @fdudbridge) - Amended
mr_scatter_plot()to issue a message about the scale the MR-GRIP estimate is plotted on (thanks @fdudbridge)
TwoSampleMR 0.6.15
- Bumped the minimum required version of R to 4.1.0. This is due to a dependency (the scales package) of a dependency (the ggplot2 package), which now has this requirement.
TwoSampleMR 0.6.14
- Minor amends to the
mr_grip()returned object names (thanks @fdudbridge) - Fixed some typos in the helpfiles and vignettes
TwoSampleMR 0.6.13
- Added
mr_grip()function which implements the MR-GRIP (modified MR-Egger with the Genotype Recoding Invariance Property) method of Dudbridge and Bowden et al. (2025).
The new method can be accessed bymr(dat, method_list = "mr_grip")or it can be added to the default list of methods withmr(dat, method_list = c(subset(mr_method_list(), use_by_default)$obj, "mr_grip")). - Added Pub Med IDs for more of the methods.
- The
format_data()function no longer causes a stack overflow when itsdatargument is not a variable (thanks to @DarwinAwardWinner)
TwoSampleMR 0.6.12
- Fixed a bug in
format_data()(thanks to @lea-urpa) - For MVMR data extraction in
mv_extract_exposures()andmv_extract_exposures_local(), SNPs that do not pass harmonisation between exposures in MVMR are now dropped (thanks @yatest) - The comments about mr.raps in the Perform MR vignette have been updated