Filename of AAL image

aal_fname(version = c("5", "4"))

aal_image(version = c("5", "4"))

Arguments

version

Version of AAL ROI image, versions 4 and 5.

Value

A character vector

Examples

aal_fname(version = 4)
#> [1] "/home/runner/work/_temp/Library/aal/extdata/ROI_MNI_V4.nii.gz"
aal_fname(version = 5)
#> [1] "/home/runner/work/_temp/Library/aal/extdata/ROI_MNI_V5.nii.gz"
aal_fname(version = "4")
#> [1] "/home/runner/work/_temp/Library/aal/extdata/ROI_MNI_V4.nii.gz"
aal_fname(version = "5")
#> [1] "/home/runner/work/_temp/Library/aal/extdata/ROI_MNI_V5.nii.gz"

v4_img = aal_image(version = 4)
v5_img = aal_image()