subset_graph: Subset graphs based on a given logical condition

Description Usage Arguments Value

View source: R/utils.R

Description

subset_graphs 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 |).

Usage

1
subset_graph(g, subgraph)

Arguments

g

A graph object

subgraph

Character string specifying an equation for which vertices to keep

Value

A graph object


brainGraph documentation built on May 29, 2018, 9:03 a.m.