create_heatmap_plot: Create heatmap visualization of GSEA results

View source: R/visualize_gsea.R

create_heatmap_plotR Documentation

Create heatmap visualization of GSEA results

Description

Create heatmap visualization of GSEA results

Usage

create_heatmap_plot(
  gsea_results,
  abundance,
  metadata,
  group,
  n_pathways = 20,
  cluster_rows = TRUE,
  cluster_columns = TRUE,
  show_rownames = TRUE,
  annotation_colors = NULL
)

Arguments

gsea_results

A data frame containing GSEA results from the pathway_gsea function

abundance

A data frame containing the original abundance data

metadata

A data frame containing sample metadata

group

A character string specifying the column name in metadata that contains the grouping variable

n_pathways

An integer specifying the number of pathways to display

cluster_rows

A logical value indicating whether to cluster rows

cluster_columns

A logical value indicating whether to cluster columns

show_rownames

A logical value indicating whether to show row names

annotation_colors

A list of colors for annotations

Value

A ComplexHeatmap object


ggpicrust2 documentation built on April 13, 2025, 9:08 a.m.