make_intersection_brainGraph: Create the intersection of graphs based on a logical...

Description Usage Arguments Value Author(s) Examples

View source: R/create_graphs.R

Description

Create the intersection of graphs based on a logical condition

Usage

1

Arguments

...

Graph objects or lists of graph objects

subgraph

Character string specifying an equation (logical condition) for the vertices to subset

Value

An igraph graph object

Author(s)

Christopher G. Watson, [email protected]

Examples

1
2
3
4
5
6
7
## Not run: 
res.mtpc <- mtpc(g, covars, ...)
g.mtpc <- make_glm_brainGraph(res.mtpc, atlas)
g.mtpc.int <- make_intersection_brainGraph(g.mtpc,
  subgraph='sig == 1')

## End(Not run)

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