Learn R Programming

neuroim2 (version 0.8.5)

indices,IndexLookupVol-method: Get Indices from an IndexLookupVol Object

Description

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

Usage

# S4 method for IndexLookupVol
indices(x)

# S4 method for ROIVol indices(x)

# S4 method for ROIVol indices(x)

# S4 method for ROIVec indices(x)

# S4 method for AbstractSparseNeuroVec indices(x)

Value

the indices of the lookup volume

Arguments

x

An IndexLookupVol object

Examples

Run this code

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


Run the code above in your browser using DataLab