plotEnrichPair: Plots the enrichment values of selected TFs.

View source: R/visualization.R

plotEnrichPairR Documentation

Plots the enrichment values of selected TFs.

Description

Plots the enrichment values of selected TFs.

Usage

plotEnrichPair(enrich_pairs, tfs)

Arguments

tfs

TFs for which to plot enrichment

enrich_pair

motif_pair_enrich output dataframe from findEnrichMotifPair

metric

Value to plot; either pval or logFC

Value

a ggplot2 plot object

Examples

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

## End(Not run)

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