疾患別免疫グロブリン(箱ひげ図)

疾患別の免疫グロブリン分布を比較する箱ひげ図テンプレート。

IgG免疫グロブリン箱ひげ疾患
疾患別免疫グロブリン(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Disease", limits = c(0, 5)) +
  scale_y_continuous(name = "IgG (mg/dL)", limits = c(0, 3000)) +
  labs(title = "Immunoglobulin by Disease (Boxplot)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))