batchGSEAplot: Create multiple GSEA plots for different comparisons

View source: R/richGSEA.R

batchGSEAplotR Documentation

Create multiple GSEA plots for different comparisons

Description

Create multiple GSEA plots for different comparisons

Usage

batchGSEAplot(
  gsea_list,
  object,
  output_dir = "gsea_plots",
  width = 12,
  height = 8,
  dpi = 300,
  format = "pdf",
  ...
)

Arguments

gsea_list

named list of GSEAResult objects

object

Annot object

output_dir

directory to save plots

width

plot width

height

plot height

dpi

resolution

format

output format (pdf, png, etc.)

...

additional arguments passed to plotGSEA

Author(s)

Kai Guo

Examples

## Not run: 
gsea_results <- list(
  "D7_WT_vs_TFAM" = res1,
  "D14_WT_vs_D7_WT" = res2
)
plots <- batchGSEAplot(gsea_results, object = hsako)

## End(Not run)

guokai8/richR documentation built on June 10, 2025, 4:51 a.m.