plot_select_sets: Plot enrichment results for hand picked gene sets

View source: R/run_gsea.R

plot_select_setsR Documentation

Plot enrichment results for hand picked gene sets

Description

Plot enrichment results for hand picked gene sets

Usage

plot_select_sets(
  container,
  factors_all,
  sets_plot,
  color_sets = NULL,
  cl_rows = FALSE,
  h_w = NULL,
  myfontsize = 8
)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

factors_all

numeric Vector of one or more factor numbers to get plots for

sets_plot

character Vector of gene set names to show enrichment values for

color_sets

named character Values are colors corresponding to each set, with names as the gene set names (default=NULL)

cl_rows

logical Set to TRUE to cluster gene set results (default=FALSE)

h_w

numeric Vector specifying height and width (defualt=NULL)

myfontsize

numeric Gene set label fontsize (default=8)

Value

A list with a ComplexHeatmap object of select enriched gene sets as the first element and with a legend object as the second element.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.