read_mask | R Documentation |
read_mask: read a nifti file as a mask, return "logi" (boolean) array
read_mask(fname)
fname |
file path to nifti file |
## Not run:
seed <- read_mask("striatum_mask.nii.gz")
str(seed) # logi [1:84, 1:100, 1:84]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.