Description Usage Arguments Details Value References See Also Examples
Draw a forest plot together with a table of text.
1 2 3 4 |
labeltext |
Matrix of strings or |
mean |
Vector of centers of confidence intervals (or |
lower |
Vector of lower ends of confidence intervals |
upper |
Vector of upper ends of confidence intervals |
align |
Vector giving alignment ( |
is.summary |
Vector of logicals. Summary lines have bold text and diamond confidence intervals. |
clip |
Lower and upper limits for clipping confidence intervals to arrows |
xlab |
x-axis label |
zero |
x-axis coordinate for zero line |
graphwidth |
Width of confidence interval graph |
col |
See |
xlog |
If |
box.size |
Override the default box size based on precision |
x.ticks |
Optional user-specified x-axis tick marks. Specify |
... |
Not used. |
This function is more flexible than metaplot
and the
plot
methods for meta-analysis objects, but requires more work by
the user.
In particular, it allows for a table of text, and clips confidence intervals to arrows when they exceed specified limits.
None
rmeta package, CRAN, Thomas Lumley <tlumley@u.washington.edu>. Functions for simple fixed and random effects meta-analysis for two-sample comparisons and cumulative meta-analyses. Draws standard summary plots, funnel plots, and computes summaries and tests for association and heterogeneity.
1 2 3 4 5 6 7 8 9 10 11 12 | require(rmeta)
myspace <- " "
labeltext <- cbind(c("Gene Symbol", "AAA", "BBB", "CCC"),c(rep(myspace,4)))
bs <- rep(0.5, nrow(labeltext))
r.mean <- c(NA, 0.35, 0.5, 0.65)
r.lower <- c(NA, 0.33, 0.4, 0.6)
r.upper <- c(NA, 0.37, 0.6, 0.7)
forestplot.surv(labeltext=labeltext, mean=r.mean, lower=r.lower, upper=r.upper,
zero=0.5, align=c("l"), graphwidth=grid::unit(2, "inches"), x.ticks=seq(0.3,0.8,0.1),
xlab=paste( "Forestplot Example", myspace, sep=""), col=meta.colors(box="royalblue",
line="darkblue", zero="darkred"), box.size=bs, clip=c(0.3,0.8))
|
Loading required package: survival
Loading required package: prodlim
Loading required package: rmeta
Loading required package: grid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.