View source: R/enrichment-functions.R
plotFisherRes | R Documentation |
plotFisherRes
plots the output of calling either enrichmentTestFisher
or
ora
.
plotFisherRes(x, alpha = 0.05)
x |
Output from |
alpha |
Significance threshold; default is 0.05. |
A plot (ggplot2) object.
library(misctoolsr) se <- exampleSE() sigs <- exampleSignatures() contabs <- contingencyTable(x = se, cols = c("up", "down"), signatures = sigs) enrichment_result <- enrichmentTestFisher(contabs) enrichment_plot <- plotFisherRes(enrichment_result) enrichment_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.