get_roi: Extract a region of interest (ROI) from an atlas

View source: R/all_generic.R

get_roiR Documentation

Extract a region of interest (ROI) from an atlas

Description

Extracts a specific region of interest from an atlas object based on label, ID, and hemisphere information.

Usage

get_roi(x, label, id, hemi)

Arguments

x

An atlas object

label

Character string specifying the ROI label/name

id

Numeric ID of the ROI in the atlas

hemi

Character string specifying hemisphere ('left' or 'right')

Value

Returns a subset of the atlas containing only the specified ROI


bbuchsbaum/neuroatlas documentation built on Dec. 24, 2024, 4:22 a.m.