View source: R/mMeta.aMeta.plot.R
mMeta.aMeta.plot | R Documentation |
This function draws a forest plot for each marker, and across markers using mMeta and aMeta.
mMeta.aMeta.plot(mMeta.aMeta.out)
mMeta.aMeta.out |
An output obtained using the mMeta.aMeta function. |
A forest plot for each marker, and across markers using mMeta and aMeta
Hyunwook Koh
Koh H, Zhao N. Meta-analysis methods for multiple related markers: applications to microbiome studies with the results on multiple α-diversity indices (Under review)
# Import requisite R packages
require(forestplot)
require(MASS)
require(vegan)
require(mMeta)
# Import example summary data
data(Sum.Data)
est <- Sum.Data$est
std.err <- Sum.Data$std.err
# Fit mMeta and aMeta
out1 <- mMeta.aMeta(est, std.err, seed=123)
# Draw a forest plot
mMeta.aMeta.plot(mMeta.aMeta.out=out1)
# Import summary data for 15 studies with 6 alpha-diversity indices.
data(HIV.Sum.Data)
est <- HIV.Sum.Data$est
std.err <- HIV.Sum.Data$std.err
# Fit mMeta and aMeta
out2 <- mMeta.aMeta(est, std.err, seed=123)
# Draw a forest plot
mMeta.aMeta.plot(mMeta.aMeta.out=out2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.