View source: R/format_mr_results2.R
subset_on_method | R Documentation |
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"
)
mr_res |
Results from |
single_snp_method |
Which of the single SNP methods to use when only 1 SNP was used to estimate the causal effect? The default is |
multi_snp_method |
Which of the multi-SNP methods to use when there was more than 1 SNPs used to estimate the causal effect? The default is |
data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.