フォレストプロット

フォレストプロットテンプレート。メタ分析の個別研究結果と統合効果をプロット。

フォレストプロットメタ分析統合効果
フォレストプロット

R Code (ggplot2)

library(ggplot2)

# ---- Forest Plot ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Effect size (OR / HR / RR)", limits = c(0.1, 10)) +
  scale_y_continuous(name = "Study", limits = c(0, 10)) +
  labs(title = "Forest Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))