How to choose the result for a set of different MR analysies? Simple strategy: Use Wald ratio if only one SNP Use IVW if more than one SNP and heterogeneity is low Use weighted mode if more than some minimum number of SNPs and heterogeneity is high
1 | strategy1(dat, het_threshold = 0.05, ivw_max_snp = 1)
|
dat |
Output from harmonise_data function |
het_threshold |
The p-value threshold for Cochran's Q - if lower than this threshold then run weighted mode. Default p = 0.05 |
ivw_max_snp |
Maximum SNPs to allow IVW result even if heterogeneity is high. Default = 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.