View source: R/fsaverage_to_coords.R
fsaverage_vertices_to_vol_coords | R Documentation |
Map fsaverage vertex indices to MNI152 or Colin27 volumne coordinates.
fsaverage_vertices_to_vol_coords( vertices, hemis, fs_home = Sys.getenv("FS_HOME"), simplify = FALSE, rf_type = "RF_ANTs", template_type = "MNI152_orig" )
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. |
rf_type |
the registration fusion type, one of 'RF_ANTs' or 'RF_M3Z'. |
template_type |
the space into which to map. One of 'MNI152_orig', 'MNI152_norm', 'Colin27_orig', 'Colin27_norm'. Note that the 'RF_ANTs' rf_type must be used for |
matrix of dim n x 3
, the MNI152 or Colin27 coordinates for the query vertices, one row per vertex. Also see the 'simplify' parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.