plot_GSEA: plot the results of GSEA

Description Usage Arguments Value

View source: R/visualization.R

Description

plot the results of GSEA

Usage

1
2
3
4
5
6
plot_GSEA(
  gsea_res,
  pattern = "HALLMARK_",
  p_cutoff = 0.05,
  colors = c("#0570b0", "grey", "#d7301f")
)

Arguments

gsea_res

A dataframe - the results of GSEA generated by test_GSEA.

pattern

A string - the prefix string pattern to be trimmed of pathway names.

p_cutoff

A numeric value - the p-value cutoff for significance.

colors

A character vector - three color values, corresponding to the low, mid, and high of the color gradient.

Value

A plot.


xmc811/Scillus documentation built on April 26, 2021, 1:41 a.m.