Skip to contents

Extracts data from an H5ParcellatedScan object when only the first index is provided. Can handle mask indices, coordinate matrices, or pass through to coordinate-based indexing.

Extracts an individual `H5NeuroVec` from an `H5NeuroVecSeq` object using double bracket notation.

Usage

# S4 method for class 'H5ParcellatedScan,ANY,missing,ANY'
x[i, j, ..., drop = TRUE]

# S4 method for class 'H5ParcellatedScanSummary,ANY,ANY,ANY'
x[i, j, k, l, ..., drop = TRUE]

# S4 method for class 'H5ParcellatedScanSummary,ANY,missing,ANY'
x[i, j, ..., drop = TRUE]

# S4 method for class 'H5NeuroVec,numeric,numeric,ANY'
x[i, j, k, l, ..., drop = TRUE]

# S4 method for class 'H5NeuroVecSeq,ANY'
x[[i, j, ...]]

# S4 method for class 'LabeledVolumeSet,numeric'
x[[i, j, ...]]

# S4 method for class 'LabeledVolumeSet,character'
x[[i, j, ...]]

Arguments

x

An `H5NeuroVecSeq` object.

i

Index (numeric or character) specifying which scan to extract.

j

Not used.

...

Not used.

drop

Logical. If TRUE, the result is coerced to the lowest possible dimension

k

Slice index (z-coordinate) - optional, passed via ...

l

Time index - optional, passed via ...

Value

An array or vector containing the subset of data

An `H5NeuroVec` object for the requested scan.