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 'ROIVec'
indices(x)

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

Arguments

x

An IndexLookupVol object

Value

An integer vector containing the indices of included voxels

Examples

## Not run: 
ilv <- IndexLookupVol(space, c(1:100))
idx <- indices(ilv)  # Get included indices

## End(Not run)


bbuchsbaum/neuroim2 documentation built on Jan. 2, 2025, 3:38 p.m.