Description Usage Arguments Value Author(s) References Examples
A function for producing radial IVW and MR-Egger plots either individually or simultaneously. The function allows for a variety of aesthetic and scaling options, utilising the output from the IVW_radial
and egger_radial
functions.
1 | plot_radial(r_object, radial_scale, show_outliers, scale_match)
|
r_object |
An object of class |
radial_scale |
Indicates whether to produce a plot including a full radial scale ( |
show_outliers |
Indicates whether display only the set of variants identified as outliers ( |
scale_match |
Indicates whether x and y axes should have the same range( |
A ggplot object containing a radial plot of either the IVW, MR-Egger, or both estimates simultaneously.
Wes Spiller; Jack Bowden.
Bowden, J., et al., Improving the visualization, interpretation and analysis of two-sample summary data Mendelian randomization via the Radial plot and Radial regression. International Journal of Epidemiology, 2018. 47(4): p. 1264-1278.
1 2 3 | plot_radial(r_object,TRUE,TRUE,TRUE)
plot_radial(c(r_object,r_object),TRUE,TRUE,FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.