figure_4_mr_clust: MR-Clust mixture model fitting

Description Usage Arguments Value

View source: R/mr_clust_code.R

Description

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.

Usage

1
figure_4_mr_clust(figure_4_panel = "a")

Arguments

figure_4_panel

Figure 4 panel to replicate - default is figure panel "a", i.e., Figure 4a.

Value

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.


cnfoley/Sun-et-al-2021-protein-coding-variants-in-human-disease documentation built on Dec. 19, 2021, 5:19 p.m.