症状重症度ヒートマップ

症状重症度ヒートマップテンプレート。複数症状の経時的変化を一覧表示。

症状重症度ヒートマップ経時変化
症状重症度ヒートマップ

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Day", limits = c(0, 7)) +
  scale_y_continuous(name = "Symptom", limits = c(0, 6)) +
  labs(title = "Symptom Severity Heatmap") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))