View source: R/visualize_gsea.R
create_heatmap_plot | R Documentation |
Create heatmap visualization of GSEA results
create_heatmap_plot(
gsea_results,
abundance,
metadata,
group,
n_pathways = 20,
cluster_rows = TRUE,
cluster_columns = TRUE,
show_rownames = TRUE,
annotation_colors = NULL
)
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 |
A ComplexHeatmap object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.