plot_enrichment_heatmap {MOFA2}R Documentation

Heatmap of Feature Set Enrichment Analysis results

Description

This method generates a heatmap with the adjusted p.values that result from the the feature set enrichment analysis. Rows are feature sets and columns are factors.

Usage

plot_enrichment_heatmap(
  enrichment.results,
  alpha = 0.1,
  cap = 1e-50,
  log_scale = TRUE,
  ...
)

Arguments

enrichment.results

output of run_enrichment function

alpha

FDR threshold to filter out unsignificant feature sets which are not represented in the heatmap. Default is 0.10.

cap

cap p-values below this threshold

log_scale

logical indicating whether to plot the -log of the p.values.

...

extra arguments to be passed to the pheatmap function

Value

produces a heatmap


[Package MOFA2 version 1.0.1 Index]