- subjects_dir
character string. The FreeSurfer SUBJECTS_DIR, i.e., a directory containing the data for all subjects, each in a subdir named after the subject identifier. Can be NULL for a template subject (like fs_LR_32 or fsaverage), in which case the standard locations (package cache, FreeSurfer installation) are searched.
- subject_id
character string, the subject identifier. For a template space, this is the name of the template subject, e.g., 'fs_LR_32' or 'fsaverage'.
- atlas
character string, the atlas name, e.g., 'schaefer400', 'brainnetome' or 'aal3'. Used to construct the name of the annotation file.
- surface
character string, the name of the surface on which the centroids are computed. Defaults to 'midthickness' (the surface in the middle between white and pial matter), which is the surface usually used for connectome figures.
- hemi
character string, one of 'lh', 'rh', or 'both'. Defaults to 'both'.
- exclude_regions
vector of character strings, the names of atlas regions to exclude. Defaults to the medial wall and the unknown region, which are not real brain regions.