Learn R Programming

fsbrain (version 0.5.5)

vertex.hemis: 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)

Value

vector of character strings, each string is 'lh' or 'rh'.

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 1..(nv(lh)+nv(rh)), i.e., across the whole brain.

Examples

Run this code
  vertex.hemis(100L, vertices=c(99L, 100L, 101L));

Run the code above in your browser using DataLab