Skip to content

Releases: MRCIEU/TwoSampleMR

TwoSampleMR 0.6.21

11 Aug 09:02
e1ff8a5

Choose a tag to compare

  • 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

01 Aug 12:07
0c9f896

Choose a tag to compare

  • 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

21 Jul 09:30
d386f0b

Choose a tag to compare

  • Further fixes for the forthcoming version 4 of ggplot2.

TwoSampleMR 0.6.18

15 Jul 10:04
a3a65d6

Choose a tag to compare

  • Fixes to mr_forest_plot(), forest_plot_1_to_many(), mr_leaveoneout_plot(), and mr_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

22 Jun 10:41
a62018f

Choose a tag to compare

  • Continued amends to the plot for MR-GRIP (thanks @fdudbridge)

TwoSampleMR 0.6.16

05 Jun 09:33
cb902d4

Choose a tag to compare

  • 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

01 May 08:39
6268c2c

Choose a tag to compare

  • 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

28 Mar 10:02
ffc9964

Choose a tag to compare

  • Minor amends to the mr_grip() returned object names (thanks @fdudbridge)
  • Fixed some typos in the helpfiles and vignettes

TwoSampleMR 0.6.13

26 Mar 08:46
d9c59d0

Choose a tag to compare

  • 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 by mr(dat, method_list = "mr_grip") or it can be added to the default list of methods with mr(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 its dat argument is not a variable (thanks to @DarwinAwardWinner)

TwoSampleMR 0.6.12

18 Mar 16:17
6199e90

Choose a tag to compare

  • Fixed a bug in format_data() (thanks to @lea-urpa)
  • For MVMR data extraction in mv_extract_exposures() and mv_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