Plot XGR enrichment.

XGR_plot_enrichment(
  enrich_res,
  adjp_thresh = 0.05,
  top_annotations = NULL,
  show_plot = TRUE
)

Examples

if (FALSE) {
enrich_res <- XGR_iterate_enrichment(
    dat = echodata::get_Nalls2019_merged(),
    foreground_filter = "Consensus_SNP",
    background_filter = "leadSNP",
    lib.selections = c("ENCODE_TFBS_ClusteredV3_CellTypes")
)
XGR_plot_enrichment(enrich_res)
}