View source: R/fsaverage_to_coords.R
| fsaverage_vertices_to_colin27_coords | R Documentation |
Map fsaverage vertex indices to Colin27 coordinates.
fsaverage_vertices_to_colin27_coords(
vertices,
hemis,
fs_home = Sys.getenv("FS_HOME"),
simplify = FALSE
)
vertices |
integer vector of vertex indices (1-based), the |
hemis |
vector of character strings, the hemispheres of the query vertices. Each entry in the vector has to be either |
fs_home |
character string, path to the FreeSurfer installation. Alternatively, a hemilist of |
simplify |
logical, whether to return a vector instead of a single-row matrix in case only a single query vertex is given. |
matrix of dim n x 3, the MNI152 coordinates for the query vertices, one row per vertex. Also see the 'simplify' parameter.
Use the more general function fsaverage_vertices_to_vol_coords for more options.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.