GGforestplot package - how to a column of text

Hi!

I'm using ggforestplot:forestplot function to create a grouped forest plot for regression estimates. I'd like to add text columns to the right-hand side of the plot containing: 1) estimates (and CI) and 2) p-values. As the package is rooted in ggplot2, I've tried several functions but with no success.

forestplot(
  df = dataset_metab,
  name = Compound,
  estimate = Estimate,
  se = SE,
  pvalue = P-FDR,
  xlab = "Summary RR (95%CI)"
) +
  ggforce::facet_col(
    facets = ~Group,
    scales = "free_y",
    space = "free"
  ) 

Here's the results:

I'll be most grateful for help!

By text columns I mean here something like from classical forest plots (attached):

1-s2.0-S0895435619302781-gr3

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.