qq_plot {gwaRs} | R Documentation |
Creates a Q-Q plot
qq_plot(
data,
point_col = "black",
diag_col = "red",
diag_line = "solid",
title = NULL
)
data |
PLINK assoc output, tab-delimited, or a data.frame with "P" column. |
point_col |
A character vector indicating the color to use for the SNP p-values. Default is "black". |
diag_col |
A character vector indicating the color to use for the diagonal line. Default is "red". |
diag_line |
A character vector indicating the line type to use for the diagonal line. Default is "solid". |
title |
A string denoting the title to use for the plot. Default is 'Q-Q Plot' |
Creates a Q-Q plot from PLINK assoc output (or any tab-delimited file or data frame with "P" column).
A Q-Q plot.
Lindokuhle Nkambule
qq_plot(gwasData)