plot_tf_network: Plot sub-network centered around one TF.

View source: R/generics.R

plot_tf_networkR Documentation

Plot sub-network centered around one TF.

Description

Plot sub-network centered around one TF.

Usage

plot_tf_network(object, ...)

## S3 method for class 'GRNData'
plot_tf_network(
  object,
  tf,
  network = DefaultNetwork(object),
  graph = "module_graph",
  circular = TRUE,
  edge_width = 0.2,
  edge_color = c(`-1` = "darkgrey", `1` = "orange"),
  node_size = 3,
  text_size = 10,
  label_nodes = c("tfs", "all", "none"),
  color_edges = TRUE
)

Arguments

object

An object.

tf

The transcription factor to center around.

network

Name of the network to use.

graph

Name of the graph.

circular

Logical. Layout tree in circular layout.

edge_width

Edge width.

edge_color

Edge color.

node_size

Node size.

text_size

Font size for labels.

label_nodes

String, indicating what to label.

  • 'tfs' - Label all TFs.

  • 'all' - Label all genes.

  • 'none' - Label nothing (except the root TF).

color_edges

Logical, whether to color edges by direction.

Value

A GRNData object.


quadbiolab/Pando documentation built on April 22, 2024, 8:14 a.m.