肺塞栓診断ROC曲線

肺塞栓症の診断マーカー(D-dimer等)のROC曲線テンプレート。

肺塞栓ROCD-dimer診断
肺塞栓診断ROC曲線

R Code (ggplot2)

library(ggplot2)

# ---- PE Diagnosis ROC ----
# あなたのデータを入力してください
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 = "PE Diagnosis ROC") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))