fs.surface.to.igraph | R Documentation |
Create igraph undirected graph from a brain surface mesh.
fs.surface.to.igraph(surface)
surface |
an fs.surface instance as returned by |
igraph::graph instance
## Not run:
# Find the one-ring neighbors of vertex 15 on the fsaverage left hemi:
sf = subject.surface(fsaverage.path(T), "fsaverage", "white", "lh");
g = fs.surface.to.igraph(sf);
igraph::neighborhood(g, order = 1, nodes = 15);
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.