powered by
Given a set of nodes and a graph this function creates the subgraph containing only the specified nodes.
subgraph(graph, subset)
A subgraph containing only the specified nodes.
A graph of class graphMCP.
graphMCP
A logical or character vector specifying the nodes in the subgraph.
Kornelius Rohmeyer rohmeyer@small-projects.de
graph <- improvedParallelGatekeeping() subgraph(graph, c(TRUE, FALSE, TRUE, FALSE)) subgraph(graph, c("H1", "H3"))
Run the code above in your browser using DataLab