Description Usage Arguments Value Author(s) See Also Examples
View source: R/create_graphs.R
This function accepts multiple vertices, creates graphs of their neighborhoods (of order 1), and returns the union of those graphs.
1 | make_ego_brainGraph(g, vs)
|
g |
An |
vs |
Either a character or integer vector (vertex names or indices, respectively) for the vertices of interest |
An igraph
graph object containing the union of all edges and
vertices in the neighborhoods of the input vertices; only the vertex
attribute name will be present
Christopher G. Watson, cgwatson@bu.edu
Other Graph creation functions: Creating_Graphs_GLM
,
Creating_Graphs
,
brainGraphList
1 2 3 4 5 | ## Not run:
subg <- make_ego_brainGraph(g1[[N]], c(24, 58))
subg <- make_ego_brainGraph(g1[[N]], c('lPCUN', 'rPCUN'))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.