plotFisherRes: Plont Enrichment Results

View source: R/enrichment-functions.R

plotFisherResR Documentation

Plont Enrichment Results

Description

plotFisherRes plots the output of calling either enrichmentTestFisher or ora.

Usage

plotFisherRes(x, alpha = 0.05)

Arguments

x

Output from enrichmentTestFisher or ora

alpha

Significance threshold; default is 0.05.

Value

A plot (ggplot2) object.

Examples


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



sdgamboa/misctoolsr documentation built on May 4, 2022, 12:33 p.m.