Get sub-network centered around one TF.

get_tf_network(object, ...)

# S3 method for SeuratPlus
get_tf_network(
  object,
  tf,
  network = DefaultNetwork(object),
  graph = "module_graph",
  features = NULL,
  order = 3,
  keep_all_edges = FALSE,
  verbose = TRUE,
  parallel = FALSE
)

Arguments

object

An object.

tf

The transcription factor to center around.

network

Name of the network to use.

graph

Name of the graph.

features

Features to use. If NULL uses all features in the graph.

order

Integer indicating the maximal order of the graph.

keep_all_edges

Logical, whether to maintain all edges to each leaf or prune to the strongest overall connection.

verbose

Logical. Whether to print messages.

parallel

Logical. Whether to parallelize the computation with foreach.

Value

A SeuratPlus object.