subgraph {gMCP} | R Documentation |
Given a set of nodes and a graph this function creates the subgraph containing only the specified nodes.
subgraph(graph, subset)
graph |
A graph of class |
subset |
A logical or character vector specifying the nodes in the subgraph. |
A subgraph containing only the specified nodes.
Kornelius Rohmeyer rohmeyer@small-projects.de
graph <- improvedParallelGatekeeping()
subgraph(graph, c(TRUE, FALSE, TRUE, FALSE))
subgraph(graph, c("H1", "H3"))