qq_plot.Rd
QQ plot
qq_plot(
gwas,
pval_col = "p",
colours = list(raw = "#2166AC"),
title = NULL,
subtitle = NULL,
plot_corrected = FALSE,
facet_grid_row_col = NULL,
facet_grid_col_col = NULL,
facet_nrow = NULL,
facet_ncol = NULL
)
a data.frame like object or valid file path
the P value column
a 2 element list of colour codes (1-the uncorrected points, 2-the GC corrected points)
a string, the title for the plot
a string, the subtitle for the plot
a logical, whether to apply and plot the lambda correction
a string, the column name in gwas
by which to facet the plot (rows)
a string, the column name in gwas
by which to facet the plot (cols)
an integer, passed to facet_wrap, the number of rows to facet by (if only facet_grid_row_col is provided)
an integer, passed to facet_wrap, the number of cols to facet by (if only facet_grid_col_col is provided)
a ggplot