plot_gsea: Plot GSEA Enrichment Curve and Table

Description Usage Arguments Value

Description

Plots enrichment table and individual enrichment graph for GSEA analysis results

Usage

1
2
plot_gsea(gsea_res, de_res, gene_sets, top_sets = 10,
  enrichment = FALSE, title = NULL)

Arguments

gsea_res

result from gsea_analysis

de_res

results from de_analysis function

gene_sets

named list of genes named by gene set

top_sets

Number of sets to be plotted in the gsea table, the number of sets to be plotted is the double of the value of top_sets or a string for individual gene set for enrichment plot

enrichment

If set to TRUE, enrichment for individual gene set will be plotted. The default value is FALSE, for plotting GSEA table.

title

title label to be shown for enchment plot, should be a character vector of the text to be plotted or TRUE for using the .default = NULL, no text plotted.

Value

graphs for gsea table or gsea individual set


luciorq/txomics documentation built on Sept. 3, 2020, 5:36 a.m.