Skip to contents

Plot GSEA statistics ranks

Usage

wrapper_gsea_plot(
  x,
  contrast,
  genesets,
  gene_var = "EntrezIDs",
  statistic_prefix = "t",
  sep = "_",
  gsea_results = NULL,
  geneset_var = "GenesetID",
  adjp_var = "adj.P.Val",
  enrichment_score_var = "NES",
  trim_limits = 0.01,
  color_low = "#42399B",
  color_mid = "darkgrey",
  color_high = "#D70131",
  title = "",
  title_size = 10,
  title_width = 100,
  axis_text_y_size = 9,
  axis_text_y_width = 80
)

Arguments

x

TopTable with statistic, for example, DGE results from limma.

gsea_results

TopTable with selected GSEA results obtained by running 'wrapper_dispaly_significant_gsea'.