View source: R/network-utils.R
| select_component | R Documentation |
Select nodes belonging to a specific connected component.
select_component(
x,
which = "largest",
...,
keep_edges = c("internal", "none"),
keep_format = FALSE,
directed = NULL
)
x |
Network input. |
which |
Component selection:
|
... |
Additional filter expressions to apply after component selection. |
keep_edges |
How to handle edges. Default "internal". |
keep_format |
Logical. Keep input format? Default FALSE. |
directed |
Logical or NULL. Auto-detect if NULL. |
A cograph_network with nodes in the selected component.
select_nodes, select_neighbors
select_component(regulation_net, which = "largest")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.