Skip to contents

A **virtual** base class for representing clustered neuroimaging data stored in HDF5. It holds the common elements shared across different representations (e.g., full voxel data, summary data). This class is not intended to be instantiated directly.

Slots

obj

An H5File object representing the open HDF5 file.

mask

A LogicalNeuroVol defining the brain mask (shared across runs).

clusters

A ClusteredNeuroVol containing cluster assignments (shared across runs).

n_voxels

An integer caching the number of voxels in the mask (sum(mask)).

Examples

# H5ClusteredArray is a virtual class and cannot be directly instantiated.
# See its subclasses H5ClusterRun and H5ClusterRunSummary for examples.

# You can check if an object inherits from it:
# run_object <- H5ClusterRun(...) # Assuming run_object is created
# inherits(run_object, "H5ClusteredArray") # Should return TRUE