Description Usage Arguments Details Examples
Create a Random Searchlight iterator for surface mesh using geodesic distance to define regions.
1 | RandomSurfaceSearchlight(surfgeom, radius = 8, nodeset = NULL)
|
surfgeom |
a surface mesh: instance of class |
radius |
radius of the searchlight as a geodesic distance in mm |
nodeset |
the subset of surface node indices to use |
On every call to nextElem
a set of surface nodes are returned.
These nodes index into the vertices of the igraph
instance.
1 2 3 4 5 | file <- system.file("extdata", "std.8_lh.smoothwm.asc", package = "neurosurf")
geom <- read_surf(file)
searchlight <- RandomSurfaceSearchlight(geom, 12)
nodes <- searchlight$nextElem()
length(nodes) > 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.