This function takes MR results from mr() and restricts to a single method per exposure x disease combination.

subset_on_method(
mr_res,
single_snp_method = "Wald ratio",
multi_snp_method = "Inverse variance weighted"
)

## Arguments

mr_res Results from mr(). Which of the single SNP methods to use when only 1 SNP was used to estimate the causal effect? The default is "Wald ratio". Which of the multi-SNP methods to use when there was more than 1 SNPs used to estimate the causal effect? The default is "Inverse variance weighted".

data frame.