plot_top_fgsea: Plot Top Enriched Pathways from fgsea Results

View source: R/genes.R

plot_top_fgseaR Documentation

Plot Top Enriched Pathways from fgsea Results

Description

Plot Top Enriched Pathways from fgsea Results

Usage

plot_top_fgsea(
  fgsea_res,
  ranked_genes,
  gene_sets,
  top_n = 3,
  absNES = 1.5,
  padj = 0.05,
  filterSig = T
)

Arguments

fgsea_res

Data frame output from 'fgsea()'.

ranked_genes

Named vector of ranked log2 fold changes.

gene_sets

List of gene sets used in fgsea.

top_n

Integer. Number of pathways to plot.

Value

List of ggplot enrichment plots.


eisascience/scCustFx documentation built on June 2, 2025, 3:59 a.m.