- subjects_dir
string. The FreeSurfer SUBJECTS_DIR, i.e., a directory containing the data for all your subjects, each in a subdir named after the subject identifier.
- subject_id
string. The subject identifier.
- atlas
string. The brain atlas to use. E.g., 'aparc' or 'aparc.a2009s'.
- lh_region_value_list
named list. A list for the left hemisphere in which the names are atlas regions, and the values are the value to write to all vertices of that region. You can pass an unnamed list, but then the its length must exactly match the number of atlas regions. The order of values must also match the order of regions in the annotation, of course. The resulting mapping will be printed so you can check it (unless 'silent' is set).
- rh_region_value_list
named list. A list for the right hemisphere in which the names are atlas regions, and the values are the value to write to all vertices of that region.
- surface
string. The display surface. E.g., "white", "pial", or "inflated". Defaults to "white".
- views
list of strings. Valid entries include: 'si': single interactive view. 't4': tiled view showing the brain from 4 angles. 't9': tiled view showing the brain from 9 angles.
- rgloptions
option list passed to par3d
. Example: rgloptions = list("windowRect"=c(50,50,1000,1000))
.
- rglactions
named list. A list in which the names are from a set of pre-defined actions. The values can be used to specify parameters for the action. The following example clips outliers in the data before plotting and writes a screenshot in PNG format: rglactions = list("snapshot_png"="~/fsbrain.png", "clip_data"=c(0.05, 0.95))
. See rglactions
.
- value_for_unlisted_regions
numerical scalar or `NA`, the value to assign to regions which do not occur in the region_value_lists. Defaults to `NA`.
- draw_colorbar
logical or one of the character strings 'vertical' or 'horizontal', whether to draw a colorbar. Notice: the colorbar is drawn to a separate subplot, and this only works if there is enough space for it, i.e., the plot resolution must be high enough. You may have to increase the plot size for the colorbar to show up, see the vignette for instructions. Defaults to `FALSE`. See coloredmesh.plot.colorbar.separate
for an alternative.
- makecmap_options
named list of parameters to pass to makecmap
. Must not include the unnamed first parameter, which is derived from 'measure'. Should include at least a colormap function as name 'colFn'.
- bg
a background definition. Can be a surface color layer or a character string like 'curv_light' to select a pre-defined layer, see collayer.bg
for valid strings.
- silent
logical, whether to suppress mapping info in case of unnamed region value lists (see 'lh_region_value_list' description).
- style
character string, a rendering style, e.g., 'default', 'shiny' or 'semitransparent'.
- border
logical, whether to add a black border around the regions. Alternatively, the parameter can be given as a named list with entries 'color' and 'expand_inwards', where the latter defines the borders thickness. E.g., border = list('color'='#FF0000', 'expand_inwards'=2L)
. Border computation is slow, sorry.