電解質パネルヒートマップ

電解質の経時変化をヒートマップで表示するテンプレート。ICU管理などに使用。

電解質ヒートマップ推移ICU
電解質パネルヒートマップ

R Code (ggplot2)

library(ggplot2)

# ---- Electrolyte Panel 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 = "Electrolyte", limits = c(0, 5)) +
  scale_y_continuous(name = "Day", limits = c(0, 7)) +
  labs(title = "Electrolyte Panel Heatmap") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))