Using the output from the mr function this report will generate a report containing tables and graphs summarising the results. A separate report is produced for each exposure - outcome pair that was analysed.

mr_report(
dat,
output_path = ".",
output_type = "html",
author = "Analyst",
study = "Two Sample MR",
path = system.file("reports", package = "TwoSampleMR"),
...
)

## Arguments

dat Output from harmonise_data Directory in which reports should be saved. Choose "html" or "md". Default is "html". All output files including cache and figures will appear in the folder specified in output_path. Author name. Study title. The filepath to the report template. Extra options to be passed to knitr::knit.