indices-methods: Get Indices from an IndexLookupVol Object

indices,IndexLookupVol-methodR Documentation

Get Indices from an IndexLookupVol Object

Description

Retrieves the vector of indices that are included in the lookup volume.

Usage

## S4 method for signature 'IndexLookupVol'
indices(x)

## S4 method for signature 'ROIVol'
indices(x)

## S4 method for signature 'ROIVol'
indices(x)

## S4 method for signature 'ROIVec'
indices(x)

## S4 method for signature 'AbstractSparseNeuroVec'
indices(x)

Arguments

x

An IndexLookupVol object

Examples


space <- NeuroSpace(c(64, 64, 64), c(1, 1, 1), c(0, 0, 0))
ilv <- IndexLookupVol(space, c(1:100))
idx <- indices(ilv)  # Get included indices



bbuchsbaum/neuroim2 documentation built on Feb. 26, 2025, 3:49 p.m.