Learn R Programming

brainGraph (version 2.7.3)

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

Description

Create the intersection of graphs based on a logical condition

Usage

make_intersection_brainGraph(..., subgraph)

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

Examples

Run this code
# 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')
# }

Run the code above in your browser using DataLab