subset_graph {brainGraph} | R Documentation |
subset_graph
will subset a given graph based on the given logical
condition(s). This can be a “simple” logical equation, or can include
combinations of AND and OR (i.e., &
and |
).
subset_graph(g, condition)
g |
A graph object |
condition |
Character string specifying an equation for which vertices to keep |
A graph object