View source: R/visualization.R
| plotEnrichPair | R Documentation |
Plots the enrichment values of selected TFs.
plotEnrichPair(enrich_pairs, tfs)
tfs |
TFs for which to plot enrichment |
enrich_pair |
motif_pair_enrich output dataframe from findEnrichMotifPair |
metric |
Value to plot; either pval or logFC |
a ggplot2 plot object
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.