highlight.vertices.spheres {fsbrain} | R Documentation |
Draw small 3D spheres at given brain mesh vertices. Supports full brain (2 meshes) as well.
Description
Draw small 3D spheres at given brain mesh vertices. Supports full brain (2 meshes) as well.
Usage
highlight.vertices.spheres(surface, vertices, ...)
Arguments
surface |
an fs.surface instance, see |
vertices |
vector of positive integers, the vertex indices. Values which are outside of the valid indices for the surface will be silently ignored, making it easier to work with the two hemispheres. |
... |
Parameters passed to |
Note
This function will draw into the current window and add to the scene, so it can be called after visualizing a mesh. See the example.
See Also
Other 3d utility functions:
highlight.points.spheres()
,
vertex.coords()
Examples
## Not run:
lh_surf = subject.surface('~/data/study1', 'subject1',
surface = "white", hemi = "lh");
vis.fs.surface(lh_surf, style="semitransparent");
highlight.vertices.spheres(lh_surf,
vertices = c(3225L, 4300L, 5500L),
color = c("green", "blue", "red"));
## End(Not run)
[Package fsbrain version 0.5.5 Index]