vertex.hemis {fsbrain} | R Documentation |
Return the proper hemi string ('lh' or 'rh') for each vertex.
Description
Return the proper hemi string ('lh' or 'rh') for each vertex.
Usage
vertex.hemis(surface, vertices)
Arguments
surface |
hemilist of surfaces or a single integer which will be interpreted as the vertex count of the left hemisphere. |
vertices |
vector of positive integers, the query vertex indices. Can be in range |
Value
vector of character strings, each string is 'lh' or 'rh'.
Note
It is not checked in any way whether the vertex indices are out of bounds on the upper side (higher than the highest rh vertex index).
Examples
vertex.hemis(100L, vertices=c(99L, 100L, 101L));
[Package fsbrain version 0.5.5 Index]