View source: R/network-utils.R
| select_edges_between | R Documentation |
Select edges connecting two specified node sets.
select_edges_between(
x,
set1,
set2,
...,
keep_isolates = TRUE,
keep_format = FALSE,
directed = NULL
)
x |
Network input. |
set1 |
Character or integer. First node set (names or indices). |
set2 |
Character or integer. Second node set (names or indices). |
... |
Additional filter expressions. |
keep_isolates |
Keep nodes that end up with no edges? Default TRUE. |
keep_format |
Keep input format? Default FALSE. |
directed |
Auto-detect if NULL. |
A cograph_network with edges between the two node sets.
select_edges, select_edges_involving
select_edges_between(regulation_net, set1 = c("Plan", "Monitor"),
set2 = c("Adapt", "Reflect"), keep_isolates = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.