Skip to contents

Extracts data from an H5ClusterRun object using array-like indexing. Handles both coordinate-based and mask-index-based subsetting.

Usage

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

Arguments

x

An H5ClusterRun object.

i

Row index (x-coordinate or mask index).

j

Column index (y-coordinate).

k

Slice index (z-coordinate).

l

Time index.

...

Not used.

drop

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

Value

An array or vector containing the subset of data.