オッズ比フォレストプロット

オッズ比のフォレストプロットテンプレート。メタ分析の結果表示に使用。

オッズ比フォレストプロットメタ分析
オッズ比フォレストプロット

R Code (ggplot2)

library(ggplot2)

# ---- Odds Ratio 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 = "Odds Ratio", limits = c(0.1, 10)) +
  scale_y_continuous(name = "Study", limits = c(0, 10)) +
  labs(title = "Odds Ratio Forest Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))