R/setGenerics.R
, R/utils_plots.R
plot_tf_network.Rd
Plot sub-network centered around one TF.
plot_tf_network(object, ...)
# S4 method for class 'CSNObject'
plot_tf_network(
object,
tfs = NULL,
network = DefaultNetwork(object),
celltypes = NULL,
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,
...
)
The input data, a csn object.
Arguments for other methods
The transcription factor to center around.
Name of the network to use.
Celltypes to plot.
If NULL
, all celltypes are plotted.
Name of the graph.
Logical. Layout tree in circular layout.
Edge width.
Edge color.
Node size.
Font size for labels.
String, indicating what to label.
* 'tfs'
- Label all TFs.
* 'all'
- Label all genes.
* 'none'
- Label nothing (except the root TF).
Logical, whether to color edges by direction.
A CSNObject object.