Create an interactive heatmap of GoShifter enrichment results for significant tests (p <= 0.05), using heatmaply.

GOSHIFTER_heatmap(GS_groups, show_plot = TRUE)

Arguments

GS_groups

A data.table of GoShifter results containing columns pval, Epigenome.name, chromatin_state, SNP_group, and mean_enrichment.

show_plot

If TRUE, print the heatmap (default TRUE).

Value

A heatmaply heatmap object.

Examples

if (FALSE) { # \dontrun{
GS_groups <- data.table::data.table(
    pval = c(0.01, 0.03, 0.8),
    Epigenome.name = c("A", "B", "C"),
    chromatin_state = "TssA",
    SNP_group = "group1",
    mean_enrichment = c(0.5, 0.3, 0.1)
)
GOSHIFTER_heatmap(GS_groups)
} # }