- volume
character string or named list, see subject.vol2surf. For template projections, this is typically the filepath of a NIfTI file containing a group-level map, e.g., in MNI152 space.
- template
character string, the template identifier. One of 'fsaverage' (the FreeSurfer template, in MNI305 space) or 'fs_LR_32' (the HCP-style 32k template, in MNI152 space). Additional templates can be used by passing the respective subjects_dir and a template identifier that matches a directory in it.
- surface
character string, the name of the surface to sample. Examples: 'white', 'pial', 'midthickness', 'inflated'. Defaults to 'white' for 'fsaverage' and to 'midthickness' for 'fs_LR_32' if surface is NULL.
- hemi
character string, see subject.vol2surf.
- subjects_dir
character string or NULL, the subjects dir which contains the template subject. If NULL (the default), the fsbrain data cache (see get_optional_data_filepath) is searched first, then the FreeSurfer installation. If the required files are missing, the respective download function is suggested in the error message.
- surface_frac
numeric scalar or NULL, see subject.vol2surf.
- frac_surface
character string, see subject.vol2surf.
- interpolation
character string, see subject.vol2surf.
- frame
positive integer scalar, see subject.vol2surf.
- cortex_only
logical, see subject.vol2surf. For 'fsaverage', the required label/?h.cortex.label file is part of the FreeSurfer installation, for 'fs_LR_32' it can be downloaded with download_fs_LR_32_labels.
- clamp
logical, see subject.vol2surf.
- check_fov
logical, see subject.vol2surf.
- affine
numeric 4x4 matrix or NULL, see subject.vol2surf.
- vox2ras
character string, see subject.vol2surf.