sub-AbstractSparseNeuroVec-numeric-numeric-ANY-method: Extractor Method for AbstractSparseNeuroVec

[,AbstractSparseNeuroVec,numeric,numeric,ANY-methodR Documentation

Extractor Method for AbstractSparseNeuroVec

Description

Extracts a subset of data from a sparse four-dimensional brain image based on provided indices.

Usage

## S4 method for signature 'AbstractSparseNeuroVec,numeric,numeric,ANY'
x[i, j, k, m, ..., drop = TRUE]

Arguments

x

An object of class AbstractSparseNeuroVec

i

Numeric vector specifying the indices for the first dimension

j

Numeric vector specifying the indices for the second dimension

k

Numeric vector specifying the indices for the third dimension (optional)

m

Numeric vector specifying the indices for the fourth dimension (optional)

...

Additional arguments passed to methods

drop

Logical indicating whether to drop dimensions of length one (default: TRUE)

Value

An array containing the extracted subset


bbuchsbaum/neuroim2 documentation built on Feb. 26, 2025, 3:49 p.m.