powered by
Return the proper hemi string ('lh' or 'rh') for each vertex.
vertex.hemis(surface, vertices)
vector of character strings, each string is 'lh' or 'rh'.
hemilist of surfaces or a single integer which will be interpreted as the vertex count of the left hemisphere.
vector of positive integers, the query vertex indices. Can be in range 1..(nv(lh)+nv(rh)), i.e., across the whole brain.
1..(nv(lh)+nv(rh))
vertex.hemis(100L, vertices=c(99L, 100L, 101L));
Run the code above in your browser using DataLab