Extracts a specific region of interest from an atlas object based on label, ID, and hemisphere information.
Usage
get_roi(x, label = NULL, id = NULL, hemi = NULL)
# S3 method for class 'atlas'
get_roi(x, label = NULL, id = NULL, hemi = NULL)
Examples
if (FALSE) { # \dontrun{
# Load the aseg atlas
atlas <- get_aseg_atlas()
# Extract the hippocampus ROI
roi <- get_roi(atlas, label = "Hippocampus")
} # }