| remove_edges | R Documentation |
Deletes the edges between given pairs of nodes. In an undirected network the order of the two endpoints does not matter.
remove_edges(
x,
from,
to,
keep_isolates = TRUE,
keep_format = FALSE,
directed = NULL
)
x |
Network input. |
from |
Source nodes, by label or index. |
to |
Target nodes, by label or index. The same length as |
keep_isolates |
Logical. Keep nodes that end up with no edges? Default
TRUE, matching |
keep_format |
Logical. Return the input format when TRUE. |
directed |
Logical or NULL. If NULL (default), auto-detect. |
A cograph_network without those edges, or the input format
when keep_format = TRUE. Named pairs that carry no edge are
reported in a cograph_no_such_edge warning.
add_edges, filter_edges,
remove_isolates
remove_edges(regulation_net, from = "Plan", to = "Monitor")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.