plotEnrichment: Plots the enrichment values of selected TFs.

View source: R/visualization.R

plotEnrichmentR Documentation

Plots the enrichment values of selected TFs.

Description

Plots the enrichment values of selected TFs.

Usage

plotEnrichment(enrich_motifs, tfs)

Arguments

enrich_motifs

motif_enrich output dataframe from findEnrichMotifPair

tfs

TFs for which to plot enrichment

metric

Value to plot; either pval or logFC

Value

a ggplot2 plot object

Examples

## Not run: 
motifs_df <- results$motif_enrich
plotEnrichment(enrich_motifs = motifs_df, tfs = c("SOX2", "NANOG", "MYC", "POU5F1"),
metric = "pval")

## End(Not run)

nashchem/enrichmotifpairR documentation built on Nov. 6, 2022, 7:12 p.m.