ROC曲線比較

ROC曲線比較テンプレート。複数の診断検査・マーカーの性能比較に使用。

ROC比較診断検査バイオマーカー
ROC曲線比較

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "1 - Specificity", limits = c(0, 1)) +
  scale_y_continuous(name = "Sensitivity", limits = c(0, 1)) +
  labs(title = "ROC Comparison") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))