View source: R/visualization.R
| plotEnrichment | R Documentation |
Plots the enrichment values of selected TFs.
plotEnrichment(enrich_motifs, tfs)
enrich_motifs |
motif_enrich output dataframe from findEnrichMotifPair |
tfs |
TFs for which to plot enrichment |
metric |
Value to plot; either pval or logFC |
a ggplot2 plot object
## Not run:
motifs_df <- results$motif_enrich
plotEnrichment(enrich_motifs = motifs_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.