View source: R/plot_enricher.R
plot_enricher | R Documentation |
Plot heatmap with enrichment scores by contrast
plot_enricher(
x,
trim = 70,
sets,
top_n,
min_p,
max_rows,
cluster_row = FALSE,
cluster_col = FALSE,
...
)
x |
list from |
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 |
Chris Stubben
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.