Skip to contents

Plot GSEA statistics ranks

Usage

wrapper_gsea_plot_core(
  statistic,
  genesets,
  adjp = NULL,
  enrichment_score = NULL,
  statistic_name = "t",
  geneset_name = "GenesetID",
  adjp_name = "adj.P.Val",
  enrichment_score_name = "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

statistic

Named vector with statistic. Names correspond to genes.

genesets

Named list with gene sets to plot. Names correspond to gene sets.

adjp

Vector with adjusted p-values for the gene sets.

enrichment_score

Vector with enrichment scores for the gene sets.