plot_enricher: Plot enricher output

View source: R/plot_enricher.R

plot_enricherR Documentation

Plot enricher output

Description

Plot heatmap with enrichment scores by contrast

Usage

plot_enricher(
  x,
  trim = 70,
  sets,
  top_n,
  min_p,
  max_rows,
  cluster_row = FALSE,
  cluster_col = FALSE,
  ...
)

Arguments

x

list from link{fgsea_all}

trim

trim long names, default more than 70 characters

sets

display contrasts sharing n or more sets for n > 1. If n = 1, then only plot unique sets. If missing, then plots all sets, default.

top_n

Number of top sets to plot

min_p

Minimum p-value on -log10 scale

max_rows

Maximun number of rows to cluster

cluster_row

Cluster dendrogram rows, default FALSE for an alphabetical list

cluster_col

Cluster dendrogram columns, default FALSE

...

other options passed to pheatmap

Author(s)

Chris Stubben

Examples

## Not run: 
  library(hciRdata)
  fc <- write_gsea_rnk(res, write=FALSE)
  x <- fgsea_all(fc, msig_pathways$KEGG, FDR= 0.25)
  plot_fgsea(x)
 
## End(Not run)

HuntsmanCancerInstitute/hciR documentation built on March 26, 2024, 3:09 a.m.