[R-meta] Query on forestplot

Emanuel Schembri |e||d26 @end|ng |rom gm@||@com
Sat Jul 20 21:53:49 CEST 2024


Dear Tobias,
It worked! Thanks a lot for your help. Much appreciated.
Kind regards,
Emanuel

On Fri, Jul 19, 2024 at 2:59 PM Tobias Saueressig <t.saueressig using gmx.de> wrote:
>
> Hi Emanuel,
>
> you could try the following:
>
> forest(meta_analysis,
>        pooled.events=TRUE,#show the sum of the events
>        pooled.totals=TRUE, # show the sum of totals
>        colgap.forest.left="1cm")# increase gap between forest plot and left side so that you can read the heterogeneity stats.
>
> You could also use the various print commands to chose your heterogeneity statistics. E.g. print.Q=TRUE etc.
>
>
> Best Regards,
>
> Tobias Saueressig
>
>
> Gesendet: Freitag, 19. Juli 2024 um 09:02 Uhr
> Von: "Emanuel Schembri via R-sig-meta-analysis" <r-sig-meta-analysis using r-project.org>
> An: r-sig-meta-analysis using r-project.org
> Cc: "Emanuel Schembri" <lelid26 using gmail.com>
> Betreff: [R-meta] Query on forestplot
> Hi,
>
> Thank you for the Meta package, which I use a lot.
>
> I am trying to replicate the meta-analysis of single proportions
> (Figure 3), which can be found in the paper below:
>
> https://bmcmusculoskeletdisord.biomedcentral.com/articles/10.1186/s12891-021-04322-5
>
>
>
> Below are my R version and operating system:
>
> R version 4.3.1 (2023-06-16 ucrt)
>
> Platform: x86_64-w64-mingw32/x64 (64-bit)
>
> Running under: Windows 10 x64 (build 19045)
>
>
>
> Below is the data and code:
>
> > dput(E1)
>
> structure(list(author = c("Hemery, 2011", "Joshy, 2007", "Mayr, 2000",
>
> "Nolte, 2001", "Romano, 2006", "Rutten, 2007"), event = c(4,
>
> 2, 13, 2, 39, 3), n = c(6, 2, 13, 2, 49, 6)), class = c("tbl_df",
>
> "tbl", "data.frame"), row.names = c(NA, -6L))
>
>
>
>
>
> meta_analysis <- metaprop(
>
> event = event,
>
> n = n,
>
> studlab = author,
>
> data = data,
>
> sm = "PLOGIT",
>
> method = "GLMM",
>
> fixed = FALSE,
>
> random = TRUE,
>
> method.tau = "ML"
>
> )
>
>
>
> forest(meta_analysis)
>
>
>
>
>
> Questions:
>
> 1. How can I add the total number of events in the forest plot? I
> also had this issue in a separate meta-analysis and forest plot when
> using 1). metabin() and 2). metabin() with subgroups.
>
> 2. How can I remove the df = 5 or else make the Heterogeneity
> statistics not overlap with the 0.2 in the forest plot?
>
>
>
> Thank you
>
> Emanuel
>
> _______________________________________________
> R-sig-meta-analysis mailing list @ R-sig-meta-analysis using r-project.org
> To manage your subscription to this mailing list, go to:
> https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis



More information about the R-sig-meta-analysis mailing list