getConnectedNodes | R Documentation |
Get all connected nodes in a network
getConnectedNodes(
mat = NULL,
net = NULL,
node = NULL,
ignore.selfloops = TRUE,
ignore.negative = FALSE,
components = c("all", "largest")
)
pruneUnconnectedNodes(
mat = NULL,
node = NULL,
ignore.selfloops = TRUE,
ignore.negative = FALSE,
components = c("all", "largest")
)
mat |
An adjacency matrix. |
net |
A |
node |
A node name. If given, the function only returns nodes that are connected to this node, directly or indirectly. |
ignore.selfloops |
Should self-loops be ignored when determining if a node is unconnected? |
ignore.negative |
Should negative edges be ignored when determining if a node is unconnected? |
components |
If |
A vector of node names that are connected to other nodes according to the rules provided in this function's arguments.
Sercan Kahveci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.