Skip to contents

Handles h5vol[i] where only i is provided. If all indices are within the first dimension range, treats as first-dimension slicing. Otherwise, treats as linear indexing into the flattened volume.

Usage

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

Arguments

x

An H5NeuroVol instance

i

Numeric index vector

j

Missing

...

Unused

drop

Logical: whether to drop dimensions of size 1. Default TRUE.

Value

Values from the volume (either as array slice or linear-indexed values)