qq_plot {gwaRs} | R Documentation |
QQ Plot
Description
Creates a Q-Q plot
Usage
qq_plot(
data,
point_col = "black",
diag_col = "red",
diag_line = "solid",
title = NULL
)
Arguments
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' |
Details
Creates a Q-Q plot from PLINK assoc output (or any tab-delimited file or data frame with "P" column).
Value
A Q-Q plot.
Author(s)
Lindokuhle Nkambule
Examples
qq_plot(gwasData)
[Package gwaRs version 0.3.0 Index]