View source: R/fsaverage_to_coords.R
mni305_coords_to_mni152_coords | R Documentation |
Find MNI152 coordinate of fsaverage vertex closest to the given MNI305 coordinate.
mni305_coords_to_mni152_coords( coords, surface = "orig", fs_home = Sys.getenv("FS_HOME"), simplify = FALSE )
coords |
nx3 numerical matrix, the MNI305 query coordinates. |
surface |
a character string defining the fsaverage surface to load (like |
fs_home |
character string, path of the FreeSurfer directory from which the fsaverage surfaces should be loaded. Ignored if |
simplify |
logical, whether to return a vector instead of a single-row matrix in case only a single query vertex is given. |
nx3 numerical matrix, the MNI152 coordinates for the vertices closest to the given MNI305 query coordinates. Depending on the distance to the closest vertex, this may be way off. Also see the 'simplify' parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.