Plot sub-network centered around one TF.

plot_tf_network(object, ...)

# S3 method for SeuratPlus
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 SeuratPlus object.