plotNetwork: Plots network of TF enrichment interactions.

View source: R/visualization.R

plotNetworkR Documentation

Plots network of TF enrichment interactions.

Description

Plots network of TF enrichment interactions.

Usage

plotNetwork(
  enrich_pairs,
  TF_name,
  color_TF = "#70d9e0",
  color_bind_TF = "#e841da"
)

Arguments

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

Value

a ggplot2 plot object

Examples

## Not run: 
motif_pairs_df <- results$motif_pair_enrich
plotNetwork(enrich_pairs, TF_name = "SP8")

## End(Not run)

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