sub-ROISurface: Subset an ROISurface Object

[,ROISurface,numeric,missing,ANY-methodR Documentation

Subset an ROISurface Object

Description

Subsets an 'ROISurface' object by selecting specific vertex indices.

Usage

## S4 method for signature 'ROISurface,numeric,missing,ANY'
x[i, j, drop]

Arguments

x

The ROISurface object to subset.

i

A numeric vector specifying the indices within the ROI to select.

j

Missing (not used for this signature).

drop

Missing or ANY (ignored, always returns an ROISurface).

Value

A new ROISurface object containing only the selected vertices and their associated data from the original ROI.


bbuchsbaum/neurosurf documentation built on June 10, 2025, 8:22 p.m.