Learn R Programming

neuroim2 (version 0.8.5)

as.array,ClusteredNeuroVol-method: Convert ClusteredNeuroVol to a base array

Description

Ensures that clustered volumes dispatch through the `as.array` S4 generic and return dense arrays of cluster labels aligned to the underlying space.

Usage

# S4 method for ClusteredNeuroVol
as.array(x, ...)

Value

A dense array of cluster ids.

Arguments

x

A `ClusteredNeuroVol` instance.

...

Additional arguments (currently ignored).