View source: R/visualization.R
| plotNetwork | R Documentation |
Plots network of TF enrichment interactions.
plotNetwork( enrich_pairs, TF_name, color_TF = "#70d9e0", color_bind_TF = "#e841da" )
color_TF |
Color of input TF |
color_bind_TF |
Color of binding partner TFs |
enrich_pair |
motif_pair_enrich output dataframe from findEnrichMotifPair |
tfs |
TF for which to plot enrichment network |
a ggplot2 plot object
## Not run: motif_pairs_df <- results$motif_pair_enrich plotNetwork(enrich_pairs, TF_name = "SP8") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.