Description Usage Arguments Value
View source: R/mr_clust_code.R
Assessment of clustered heterogeneity in Mendelian randomization analyses using expectation-maximisation (EM) based model fitting of the MR-Clust mixture model. Function output includes both data-tables and a visualisation of the assingment of variants to clusters.
1 | figure_4_mr_clust(figure_4_panel = "a")
|
figure_4_panel |
Figure 4 panel to replicate - default is figure panel "a", i.e., Figure 4a. |
Returned are: estimates of the putative number of clusters in the sample, complete with allocation probabilities and summaries of the association estimates for each variant; plots which visualise the allocation of variants to clusters and; several summaries of the fitting process, i.e. the BIC and likelihood estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.