コピー数変異プロット

コピー数変異プロットテンプレート。CGHアレイやWGSのCNV解析結果を表示。

CNVコピー数アレイCGHゲノム
コピー数変異プロット

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Genomic Position", limits = c(0, 100)) +
  scale_y_continuous(name = "log2 Ratio", limits = c(-3, 3)) +
  labs(title = "Copy Number Variation Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))