Plot histograms of GoShifter p-values faceted by SNP group.

GOSHIFTER_histograms_SNPgroups(GS_groups, show_plot = TRUE)

Arguments

GS_groups

A data.table of GoShifter results containing columns SNP_group, Annotation, pval, and GS_pval.

show_plot

If TRUE, print the plot (default TRUE).

Value

A ggplot object.

Examples

if (FALSE) { # \dontrun{
GS_groups <- data.table::data.table(
    SNP_group = rep(c("A", "B"), each = 5),
    Annotation = "E001",
    pval = runif(10),
    GS_pval = runif(10)
)
GOSHIFTER_histograms_SNPgroups(GS_groups)
} # }