Skip to contents

此函数只需要xQTL_mr计算PVE。

Usage

xQTL_volcano_plot(
  dat,
  breaks = c(0.1, 0.2, 0.3, 0.4, 0.5),
  scale_color = c("green", "grey", "red"),
  FDR_method = "fdr",
  save_plot = TRUE,
  pdf_name = "volcano_plot",
  width = 6,
  height = 5,
  save_path = "./"
)

Arguments

dat

xQTL分析后的结果数据。

breaks

PVE刻度大小。

scale_color

火山图气泡颜色设置,默认c("green", "grey","red")。

FDR_method

FDR矫正方法,默认"fdr",其它方法详见p.adjust函数的method参数。

save_plot

TRUE或FALSE,是否保存火山图,默认为TRUE。

pdf_name

保存的pdf图形文件名,默认plot。

width

图形宽度。

height

图形高度。

save_path

图形文件保存路径,默认"./"。

Value

fdr矫正结果