mMeta.aMeta.plot: A forest plot for mMeta and aMeta

View source: R/mMeta.aMeta.plot.R

mMeta.aMeta.plotR Documentation

A forest plot for mMeta and aMeta

Description

This function draws a forest plot for each marker, and across markers using mMeta and aMeta.

Usage

mMeta.aMeta.plot(mMeta.aMeta.out)

Arguments

mMeta.aMeta.out

An output obtained using the mMeta.aMeta function.

Value

A forest plot for each marker, and across markers using mMeta and aMeta

Author(s)

Hyunwook Koh

References

Koh H, Zhao N. Meta-analysis methods for multiple related markers: applications to microbiome studies with the results on multiple α-diversity indices (Under review)

Examples

# 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)


hk1785/mMeta documentation built on Dec. 20, 2024, 3:27 a.m.