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!